#C38EF6#C38EF6
#C38EF6 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.8% C 0.154 H 306.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C38EF6 |
|---|---|
| RGB | rgb(195, 142, 246) |
| HSL | hsl(271, 85%, 76%) |
| HSV | hsv(271, 42%, 96%) |
| CMYK | cmyk(20.7%, 42.3%, 0%, 3.5%) |
| CIE-LAB | lab(67.73, 39.51, -44.62) |
| CIE-LCH | lch(67.73, 59.60, 311.52°) |
| OKLab | oklab(73.78% 0.0918 -0.1242) |
| OKLCH | oklch(73.78% 0.154 306.5) |
| XYZ | xyz(48.8099, 37.6023, 91.8575) |
| Luminance | 0.3760 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.14
Baby Purple
#CA9BF7
ΔE00 3.47
Pastel Purple
#CAA0FF
ΔE00 4.49
Lilac (survey)
#CEA2FD
ΔE00 5.07
Lavender (survey)
#C79FEF
ΔE00 5.12
Light Purple
#BF77F6
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C38EF6 #C1F68E
analogous
#8F8EF6 #C38EF6 #F68EF5
triadic
#C38EF6 #F6C38E #8EF6C3
tetradic
#C38EF6 #F68F8E #C1F68E #8EF5F6
square
#C38EF6 #F68F8E #C1F68E #8EF5F6
split-complementary
#C38EF6 #F5F68E #8EF68F
monochromatic
#871DED #A555F1 #C38EF6 #E1C7FB #F0E3FD
Accessibility & contrast
On white
2.46
#C38EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#C38EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C38EF6
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C38EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C38EF6 | 1.00 | 2.46 | 8.52 | 8.52 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A3FA
Deuteranopia (green-blind)
#82A5F3
Tritanopia (blue-blind)
#BB9FB6
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c38ef6; /* rgb */ color: rgb(195, 142, 246); /* oklch */ color: oklch(73.8% 0.154 306.5);
Tailwind
colors: {
custom: {
50: '#d7b0f9',
500: '#c38ef6',
950: '#000000',
},
}SCSS
$custom: #c38ef6; $custom-light: #d7b0f9; $custom-dark: #000000;
JSON
{
"hex": "#c38ef6",
"rgb": {
"r": 195,
"g": 142,
"b": 246
},
"hsl": {
"h": 270.577,
"s": 85.246,
"l": 76.078
},
"oklch": {
"l": 0.73779,
"c": 0.15445,
"h": 306.5
},
"luminance": 0.37602
}Semantic roles & 50–950 ramp
primary
#C38EF6
secondary
#E5F5D6
accent
#E20471
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151017
muted
#837F85