#CB2ECF#CB2ECF
#CB2ECF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 61.0% C 0.252 H 327.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CB2ECF |
|---|---|
| RGB | rgb(203, 46, 207) |
| HSL | hsl(299, 64%, 50%) |
| HSV | hsv(299, 78%, 81%) |
| CMYK | cmyk(1.9%, 77.8%, 0%, 18.8%) |
| CIE-LAB | lab(50.87, 76.41, -49.38) |
| CIE-LCH | lch(50.87, 90.97, 327.13°) |
| OKLab | oklab(61% 0.2114 -0.1372) |
| OKLCH | oklch(61% 0.252 327) |
| XYZ | xyz(36.8675, 19.1582, 60.7755) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 2.64
Purpley Pink
#C83CB9
ΔE00 3.78
Pinky Purple
#C94CBE
ΔE00 4.99
Pinkish Purple
#D648D7
ΔE00 5.05
Mediumorchid
#BA55D3
ΔE00 5.46
Hot Purple
#CB00F5
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB2ECF #32CF2E
analogous
#7A2ECF #CB2ECF #CF2E83
triadic
#CB2ECF #CFCB2E #2ECFCB
tetradic
#CB2ECF #CF7A2E #32CF2E #2E83CF
square
#CB2ECF #CF7A2E #32CF2E #2E83CF
split-complementary
#CB2ECF #83CF2E #2ECF7A
monochromatic
#69186B #9A239D #CB2ECF #D85FDB #E491E7
Accessibility & contrast
On white
4.35
#CB2ECF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#CB2ECF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB2ECF
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB2ECF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB2ECF | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#D14B7F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cb2ecf; /* rgb */ color: rgb(203, 46, 207); /* oklch */ color: oklch(61.0% 0.252 327.0);
Tailwind
colors: {
custom: {
50: '#df7ade',
500: '#cb2ecf',
950: '#000000',
},
}SCSS
$custom: #cb2ecf; $custom-light: #df7ade; $custom-dark: #000000;
JSON
{
"hex": "#cb2ecf",
"rgb": {
"r": 203,
"g": 46,
"b": 207
},
"hsl": {
"h": 298.509,
"s": 63.636,
"l": 49.608
},
"oklch": {
"l": 0.60997,
"c": 0.25202,
"h": 327
},
"luminance": 0.19155
}Semantic roles & 50–950 ramp
primary
#CB2ECF
secondary
#89D188
accent
#E74145
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83