#C38EF7#C38EF7
#C38EF7 is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.8% C 0.156 H 306.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C38EF7 |
|---|---|
| RGB | rgb(195, 142, 247) |
| HSL | hsl(270, 87%, 76%) |
| HSV | hsv(270, 43%, 97%) |
| CMYK | cmyk(21.1%, 42.5%, 0%, 3.1%) |
| CIE-LAB | lab(67.77, 39.73, -45.10) |
| CIE-LCH | lch(67.77, 60.10, 311.38°) |
| OKLab | oklab(73.83% 0.092 -0.1256) |
| OKLCH | oklch(73.83% 0.156 306.2) |
| XYZ | xyz(48.9638, 37.6639, 92.6680) |
| Luminance | 0.3766 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 0.96
Baby Purple
#CA9BF7
ΔE00 3.52
Pastel Purple
#CAA0FF
ΔE00 4.48
Lilac (survey)
#CEA2FD
ΔE00 5.10
Lavender (survey)
#C79FEF
ΔE00 5.20
Light Purple
#BF77F6
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C38EF7 #C2F78E
analogous
#8F8EF7 #C38EF7 #F78EF6
triadic
#C38EF7 #F7C38E #8EF7C3
tetradic
#C38EF7 #F78F8E #C2F78E #8EF6F7
square
#C38EF7 #F78F8E #C2F78E #8EF6F7
split-complementary
#C38EF7 #F6F78E #8EF78F
monochromatic
#861CEF #A555F3 #C38EF7 #E1C7FB #F0E2FD
Accessibility & contrast
On white
2.46
#C38EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#C38EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C38EF7
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C38EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C38EF7 | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A3FB
Deuteranopia (green-blind)
#81A6F4
Tritanopia (blue-blind)
#BB9FB7
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c38ef7; /* rgb */ color: rgb(195, 142, 247); /* oklch */ color: oklch(73.8% 0.156 306.2);
Tailwind
colors: {
custom: {
50: '#d7b0fa',
500: '#c38ef7',
950: '#000000',
},
}SCSS
$custom: #c38ef7; $custom-light: #d7b0fa; $custom-dark: #000000;
JSON
{
"hex": "#c38ef7",
"rgb": {
"r": 195,
"g": 142,
"b": 247
},
"hsl": {
"h": 270.286,
"s": 86.777,
"l": 76.275
},
"oklch": {
"l": 0.73829,
"c": 0.15566,
"h": 306.2
},
"luminance": 0.37664
}Semantic roles & 50–950 ramp
primary
#C38EF7
secondary
#E5F5D6
accent
#E30272
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151017
muted
#837F85