#CB45E2#CB45E2
#CB45E2 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.9% C 0.244 H 321.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CB45E2 |
|---|---|
| RGB | rgb(203, 69, 226) |
| HSL | hsl(291, 73%, 58%) |
| HSV | hsv(291, 69%, 89%) |
| CMYK | cmyk(10.2%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(54.50, 72.33, -54.40) |
| CIE-LCH | lch(54.50, 90.51, 323.05°) |
| OKLab | oklab(63.93% 0.1905 -0.1521) |
| OKLCH | oklch(63.93% 0.244 321.4) |
| XYZ | xyz(40.4827, 22.4459, 74.1369) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 3.19
Pinkish Purple
#D648D7
ΔE00 3.21
Mediumorchid
#BA55D3
ΔE00 3.38
Heliotrope
#D94FF5
ΔE00 4.19
Pink Purple
#EF1DE7
ΔE00 5.34
Hot Purple
#CB00F5
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB45E2 #5CE245
analogous
#7C45E2 #CB45E2 #E245AB
triadic
#CB45E2 #E2CB45 #45E2CB
tetradic
#CB45E2 #E27C45 #5CE245 #45ABE2
square
#CB45E2 #E27C45 #5CE245 #45ABE2
split-complementary
#CB45E2 #ABE245 #45E27C
monochromatic
#831795 #B120CA #CB45E2 #DA7AEA #E9AFF3
Accessibility & contrast
On white
3.83
#CB45E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#CB45E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB45E2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB45E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB45E2 | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#5887DE
Tritanopia (blue-blind)
#CD618F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #cb45e2; /* rgb */ color: rgb(203, 69, 226); /* oklch */ color: oklch(63.9% 0.244 321.4);
Tailwind
colors: {
custom: {
50: '#df84ec',
500: '#cb45e2',
950: '#000000',
},
}SCSS
$custom: #cb45e2; $custom-light: #df84ec; $custom-dark: #000000;
JSON
{
"hex": "#cb45e2",
"rgb": {
"r": 203,
"g": 69,
"b": 226
},
"hsl": {
"h": 291.21,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.6393,
"c": 0.24378,
"h": 321.4
},
"luminance": 0.22444
}Semantic roles & 50–950 ramp
primary
#CB45E2
secondary
#ABE1A2
accent
#F03853
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84