#CD46E2#CD46E2
#CD46E2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.3% C 0.243 H 322.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CD46E2 |
|---|---|
| RGB | rgb(205, 70, 226) |
| HSL | hsl(292, 73%, 58%) |
| HSV | hsv(292, 69%, 89%) |
| CMYK | cmyk(9.3%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(54.92, 72.39, -53.71) |
| CIE-LCH | lch(54.92, 90.14, 323.42°) |
| OKLab | oklab(64.29% 0.1918 -0.15) |
| OKLCH | oklch(64.29% 0.243 322) |
| XYZ | xyz(41.0930, 22.8527, 74.1833) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.82
Purple Pink
#D725DE
ΔE00 3.27
Mediumorchid
#BA55D3
ΔE00 3.51
Heliotrope
#D94FF5
ΔE00 3.85
Pink Purple
#EF1DE7
ΔE00 5.02
Bright Lilac
#C95EFB
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD46E2 #5BE246
analogous
#7F46E2 #CD46E2 #E246A9
triadic
#CD46E2 #E2CD46 #46E2CD
tetradic
#CD46E2 #E27F46 #5BE246 #46A9E2
square
#CD46E2 #E27F46 #5BE246 #46A9E2
split-complementary
#CD46E2 #A9E246 #46E27F
monochromatic
#851896 #B420CB #CD46E2 #DB7BEA #EAB0F3
Accessibility & contrast
On white
3.77
#CD46E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#CD46E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD46E2
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD46E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD46E2 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#057AE6
Deuteranopia (green-blind)
#5B89DE
Tritanopia (blue-blind)
#CF628F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #cd46e2; /* rgb */ color: rgb(205, 70, 226); /* oklch */ color: oklch(64.3% 0.243 322.0);
Tailwind
colors: {
custom: {
50: '#e085ec',
500: '#cd46e2',
950: '#000000',
},
}SCSS
$custom: #cd46e2; $custom-light: #e085ec; $custom-dark: #000000;
JSON
{
"hex": "#cd46e2",
"rgb": {
"r": 205,
"g": 70,
"b": 226
},
"hsl": {
"h": 291.923,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.64292,
"c": 0.24348,
"h": 322
},
"luminance": 0.2285
}Semantic roles & 50–950 ramp
primary
#CD46E2
secondary
#ABE1A3
accent
#F03851
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84