#CB39E2#CB39E2
#CB39E2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.9% C 0.256 H 321.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #CB39E2 |
|---|---|
| RGB | rgb(203, 57, 226) |
| HSL | hsl(292, 74%, 55%) |
| HSV | hsv(292, 75%, 89%) |
| CMYK | cmyk(10.2%, 74.8%, 0%, 11.4%) |
| CIE-LAB | lab(53.08, 76.38, -56.68) |
| CIE-LCH | lch(53.08, 95.11, 323.42°) |
| OKLab | oklab(62.92% 0.2014 -0.1586) |
| OKLCH | oklch(62.92% 0.256 321.8) |
| XYZ | xyz(39.8177, 21.1160, 73.9153) |
| Luminance | 0.2111 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 2.24
Hot Purple
#CB00F5
ΔE00 4.07
Pinkish Purple
#D648D7
ΔE00 4.19
Mediumorchid
#BA55D3
ΔE00 4.22
Heliotrope
#D94FF5
ΔE00 5.50
Pink Purple
#EF1DE7
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB39E2 #50E239
analogous
#7639E2 #CB39E2 #E239A5
triadic
#CB39E2 #E2CB39 #39E2CB
tetradic
#CB39E2 #E27639 #50E239 #39A5E2
square
#CB39E2 #E27639 #50E239 #39A5E2
split-complementary
#CB39E2 #A5E239 #39E276
monochromatic
#7C158C #AB1CC1 #CB39E2 #D96EEA #E7A4F2
Accessibility & contrast
On white
4.02
#CB39E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#CB39E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB39E2
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB39E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB39E2 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#5084DE
Tritanopia (blue-blind)
#CD5B8C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cb39e2; /* rgb */ color: rgb(203, 57, 226); /* oklch */ color: oklch(62.9% 0.256 321.8);
Tailwind
colors: {
custom: {
50: '#df7fec',
500: '#cb39e2',
950: '#000000',
},
}SCSS
$custom: #cb39e2; $custom-light: #df7fec; $custom-dark: #000000;
JSON
{
"hex": "#cb39e2",
"rgb": {
"r": 203,
"g": 57,
"b": 226
},
"hsl": {
"h": 291.834,
"s": 74.449,
"l": 55.49
},
"oklch": {
"l": 0.62918,
"c": 0.2564,
"h": 321.8
},
"luminance": 0.21114
}Semantic roles & 50–950 ramp
primary
#CB39E2
secondary
#A2DF98
accent
#F13750
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84