#CB3FE2#CB3FE2
#CB3FE2 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.4% C 0.250 H 321.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CB3FE2 |
|---|---|
| RGB | rgb(203, 63, 226) |
| HSL | hsl(292, 74%, 57%) |
| HSV | hsv(292, 72%, 89%) |
| CMYK | cmyk(10.2%, 72.1%, 0%, 11.4%) |
| CIE-LAB | lab(53.76, 74.44, -55.59) |
| CIE-LCH | lch(53.76, 92.90, 323.25°) |
| OKLab | oklab(63.4% 0.1962 -0.1555) |
| OKLCH | oklch(63.4% 0.25 321.6) |
| XYZ | xyz(40.1321, 21.7447, 74.0200) |
| Luminance | 0.2174 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 2.60
Pinkish Purple
#D648D7
ΔE00 3.66
Mediumorchid
#BA55D3
ΔE00 3.76
Hot Purple
#CB00F5
ΔE00 4.73
Heliotrope
#D94FF5
ΔE00 4.84
Pink Purple
#EF1DE7
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB3FE2 #56E23F
analogous
#7A3FE2 #CB3FE2 #E23FA8
triadic
#CB3FE2 #E2CB3F #3FE2CB
tetradic
#CB3FE2 #E27A3F #56E23F #3FA8E2
square
#CB3FE2 #E27A3F #56E23F #3FA8E2
split-complementary
#CB3FE2 #A8E23F #3FE27A
monochromatic
#7F1691 #AE1EC6 #CB3FE2 #D974EA #E8A9F2
Accessibility & contrast
On white
3.93
#CB3FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#CB3FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB3FE2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB3FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB3FE2 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#5486DE
Tritanopia (blue-blind)
#CD5E8D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cb3fe2; /* rgb */ color: rgb(203, 63, 226); /* oklch */ color: oklch(63.4% 0.250 321.6);
Tailwind
colors: {
custom: {
50: '#df81ec',
500: '#cb3fe2',
950: '#000000',
},
}SCSS
$custom: #cb3fe2; $custom-light: #df81ec; $custom-dark: #000000;
JSON
{
"hex": "#cb3fe2",
"rgb": {
"r": 203,
"g": 63,
"b": 226
},
"hsl": {
"h": 291.534,
"s": 73.756,
"l": 56.667
},
"oklch": {
"l": 0.63401,
"c": 0.25035,
"h": 321.6
},
"luminance": 0.21743
}Semantic roles & 50–950 ramp
primary
#CB3FE2
secondary
#A6E09D
accent
#F03751
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160B16
muted
#847C84