Skip to content
Vectorlight.net

#c38ceb

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#c38ceb
RGB
195, 140, 235
HSL
274.74°, 70.37%, 73.53%
OKLCH
0.73 0.14 309.84
Names
—
Lists

Codes

FormatValue
HEX#c38ceb
RGBrgb(195 140 235)
HSLhsl(274.74 70.37% 73.53%)
OKLCHoklch(0.73 0.14 309.84)
CMYKcmyk(17.02% 40.43% 0% 7.84%)
Android#ffc38ceb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.27:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#c38ceb"
Gradient stop
<stop stop-color="#c38ceb"/>
CSS variable + fill
:root { --c: #c38ceb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #c38ceb;
background-color: #c38ceb;
bg-[#c38ceb]