#CB5CF2#CB5CF2
#CB5CF2 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.3% C 0.229 H 316.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5CF2 |
|---|---|
| RGB | rgb(203, 92, 242) |
| HSL | hsl(284, 85%, 65%) |
| HSV | hsv(284, 62%, 95%) |
| CMYK | cmyk(16.1%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(58.75, 65.97, -56.57) |
| CIE-LCH | lch(58.75, 86.90, 319.39°) |
| OKLab | oklab(67.29% 0.1655 -0.1585) |
| OKLCH | oklch(67.29% 0.229 316.2) |
| XYZ | xyz(44.4803, 26.7632, 86.8100) |
| Luminance | 0.2676 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.48
Bright Lavender
#C760FF
ΔE00 2.27
Heliotrope
#D94FF5
ΔE00 2.43
Easter Purple
#C071FE
ΔE00 4.83
Light Urple
#B36FF6
ΔE00 5.40
Mediumorchid
#BA55D3
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5CF2 #83F25C
analogous
#805CF2 #CB5CF2 #F25CCE
triadic
#CB5CF2 #F2CB5C #5CF2CB
tetradic
#CB5CF2 #F2805C #83F25C #5CCEF2
square
#CB5CF2 #F2805C #83F25C #5CCEF2
split-complementary
#CB5CF2 #CEF25C #5CF280
monochromatic
#9510C4 #B923ED #CB5CF2 #DD95F7 #EFCDFB
Accessibility & contrast
On white
3.31
#CB5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#CB5CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5CF2
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5CF2 | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2887F7
Deuteranopia (green-blind)
#5D91EE
Tritanopia (blue-blind)
#C9779F
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #cb5cf2; /* rgb */ color: rgb(203, 92, 242); /* oklch */ color: oklch(67.3% 0.229 316.2);
Tailwind
colors: {
custom: {
50: '#de90f7',
500: '#cb5cf2',
950: '#000000',
},
}SCSS
$custom: #cb5cf2; $custom-light: #de90f7; $custom-dark: #000000;
JSON
{
"hex": "#cb5cf2",
"rgb": {
"r": 203,
"g": 92,
"b": 242
},
"hsl": {
"h": 284.4,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.67286,
"c": 0.22916,
"h": 316.2
},
"luminance": 0.26762
}Semantic roles & 50–950 ramp
primary
#CB5CF2
secondary
#C9EEBC
accent
#E2043D
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85