#C38EF9#C38EF9
#C38EF9 is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.9% C 0.158 H 305.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C38EF9 |
|---|---|
| RGB | rgb(195, 142, 249) |
| HSL | hsl(270, 90%, 77%) |
| HSV | hsv(270, 43%, 98%) |
| CMYK | cmyk(21.7%, 43%, 0%, 2.4%) |
| CIE-LAB | lab(67.86, 40.18, -46.05) |
| CIE-LCH | lch(67.86, 61.11, 311.11°) |
| OKLab | oklab(73.93% 0.0923 -0.1283) |
| OKLCH | oklch(73.93% 0.158 305.7) |
| XYZ | xyz(49.2741, 37.7880, 94.3021) |
| Luminance | 0.3779 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 0.63
Baby Purple
#CA9BF7
ΔE00 3.65
Pastel Purple
#CAA0FF
ΔE00 4.49
Lilac (survey)
#CEA2FD
ΔE00 5.16
Lavender (survey)
#C79FEF
ΔE00 5.39
Light Purple
#BF77F6
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C38EF9 #C4F98E
analogous
#8E8FF9 #C38EF9 #F98EF9
triadic
#C38EF9 #F9C38E #8EF9C3
tetradic
#C38EF9 #F98E8F #C4F98E #8EF9F9
square
#C38EF9 #F98E8F #C4F98E #8EF9F9
split-complementary
#C38EF9 #F9F98E #8FF98E
monochromatic
#851AF3 #A454F6 #C38EF9 #E2C8FC #F0E2FD
Accessibility & contrast
On white
2.45
#C38EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#C38EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C38EF9
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C38EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C38EF9 | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#80A6F6
Tritanopia (blue-blind)
#BB9FB8
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c38ef9; /* rgb */ color: rgb(195, 142, 249); /* oklch */ color: oklch(73.9% 0.158 305.7);
Tailwind
colors: {
custom: {
50: '#d7b0fb',
500: '#c38ef9',
950: '#000000',
},
}SCSS
$custom: #c38ef9; $custom-light: #d7b0fb; $custom-dark: #000000;
JSON
{
"hex": "#c38ef9",
"rgb": {
"r": 195,
"g": 142,
"b": 249
},
"hsl": {
"h": 269.72,
"s": 89.916,
"l": 76.667
},
"oklch": {
"l": 0.73928,
"c": 0.15807,
"h": 305.7
},
"luminance": 0.37788
}Semantic roles & 50–950 ramp
primary
#C38EF9
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151017
muted
#837F85