#CB85F2#CB85F2
#CB85F2 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.9% C 0.167 H 312.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CB85F2 |
|---|---|
| RGB | rgb(203, 133, 242) |
| HSL | hsl(279, 81%, 74%) |
| HSV | hsv(279, 45%, 95%) |
| CMYK | cmyk(16.1%, 45%, 0%, 5.1%) |
| CIE-LAB | lab(66.43, 45.72, -44.41) |
| CIE-LCH | lch(66.43, 63.74, 315.84°) |
| OKLab | oklab(72.94% 0.1129 -0.1234) |
| OKLCH | oklch(72.94% 0.167 312.5) |
| XYZ | xyz(49.0404, 35.8834, 88.3300) |
| Luminance | 0.3588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.40
Light Purple
#BF77F6
ΔE00 4.33
Baby Purple
#CA9BF7
ΔE00 5.51
Easter Purple
#C071FE
ΔE00 5.82
Violet (CSS)
#EE82EE
ΔE00 6.76
Pastel Purple
#CAA0FF
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB85F2 #ACF285
analogous
#9485F2 #CB85F2 #F285E2
triadic
#CB85F2 #F2CB85 #85F2CB
tetradic
#CB85F2 #F29485 #ACF285 #85E2F2
square
#CB85F2 #F29485 #ACF285 #85E2F2
split-complementary
#CB85F2 #E2F285 #85F294
monochromatic
#9B18E4 #B34EEC #CB85F2 #E3BCF8 #F3E3FC
Accessibility & contrast
On white
2.57
#CB85F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#CB85F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB85F2
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB85F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB85F2 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#C795B0
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cb85f2; /* rgb */ color: rgb(203, 133, 242); /* oklch */ color: oklch(72.9% 0.167 312.5);
Tailwind
colors: {
custom: {
50: '#ddaaf7',
500: '#cb85f2',
950: '#000000',
},
}SCSS
$custom: #cb85f2; $custom-light: #ddaaf7; $custom-dark: #000000;
JSON
{
"hex": "#cb85f2",
"rgb": {
"r": 203,
"g": 133,
"b": 242
},
"hsl": {
"h": 278.532,
"s": 80.741,
"l": 73.529
},
"oklch": {
"l": 0.72935,
"c": 0.16726,
"h": 312.5
},
"luminance": 0.35882
}Semantic roles & 50–950 ramp
primary
#CB85F2
secondary
#E1F4D7
accent
#DD0855
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85