#CB8FF0#CB8FF0
#CB8FF0 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.4% C 0.148 H 311.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CB8FF0 |
|---|---|
| RGB | rgb(203, 143, 240) |
| HSL | hsl(277, 76%, 75%) |
| HSV | hsv(277, 40%, 94%) |
| CMYK | cmyk(15.4%, 40.4%, 0%, 5.9%) |
| CIE-LAB | lab(68.48, 39.94, -40.09) |
| CIE-LCH | lch(68.48, 56.59, 314.89°) |
| OKLab | oklab(74.45% 0.0987 -0.111) |
| OKLCH | oklch(74.45% 0.148 311.6) |
| XYZ | xyz(50.1765, 38.6336, 87.2349) |
| Luminance | 0.3863 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.20
Liliac
#C48EFD
ΔE00 3.20
Lavender (survey)
#C79FEF
ΔE00 4.55
Pastel Purple
#CAA0FF
ΔE00 4.81
Lilac (survey)
#CEA2FD
ΔE00 4.85
Pale Purple
#B790D4
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB8FF0 #B4F08F
analogous
#9A8FF0 #CB8FF0 #F08FE5
triadic
#CB8FF0 #F0CB8F #8FF0CB
tetradic
#CB8FF0 #F09A8F #B4F08F #8FE5F0
square
#CB8FF0 #F09A8F #B4F08F #8FE5F0
split-complementary
#CB8FF0 #E5F08F #8FF09A
monochromatic
#9923E2 #B259E9 #CB8FF0 #E4C5F7 #F2E4FB
Accessibility & contrast
On white
2.41
#CB8FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#CB8FF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB8FF0
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB8FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB8FF0 | 1.00 | 2.41 | 8.73 | 8.73 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA4F4
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#C79DB4
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cb8ff0; /* rgb */ color: rgb(203, 143, 240); /* oklch */ color: oklch(74.4% 0.148 311.6);
Tailwind
colors: {
custom: {
50: '#dcb1f5',
500: '#cb8ff0',
950: '#000000',
},
}SCSS
$custom: #cb8ff0; $custom-light: #dcb1f5; $custom-dark: #000000;
JSON
{
"hex": "#cb8ff0",
"rgb": {
"r": 203,
"g": 143,
"b": 240
},
"hsl": {
"h": 277.113,
"s": 76.378,
"l": 75.098
},
"oklch": {
"l": 0.74447,
"c": 0.14849,
"h": 311.6
},
"luminance": 0.38633
}Semantic roles & 50–950 ramp
primary
#CB8FF0
secondary
#E2F3D8
accent
#D90D5B
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085