#CB7EC4#CB7EC4
#CB7EC4 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.7% C 0.131 H 330.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EC4 |
|---|---|
| RGB | rgb(203, 126, 196) |
| HSL | hsl(305, 43%, 65%) |
| HSV | hsv(305, 38%, 80%) |
| CMYK | cmyk(0%, 37.9%, 3.4%, 20.4%) |
| CIE-LAB | lab(63.02, 40.41, -24.10) |
| CIE-LCH | lch(63.02, 47.05, 329.19°) |
| OKLab | oklab(69.74% 0.1138 -0.0653) |
| OKLCH | oklch(69.74% 0.131 330.2) |
| XYZ | xyz(42.0527, 31.6057, 56.0993) |
| Luminance | 0.3160 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.54
Lavender Pink
#DD85D7
ΔE00 4.07
Orchid
#DA70D6
ΔE00 5.16
Pale Magenta
#D767AD
ΔE00 6.94
Purply Pink
#F075E6
ΔE00 7.54
Wisteria
#A87DC2
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EC4 #7ECB85
analogous
#AC7ECB #CB7EC4 #CB7E9E
triadic
#CB7EC4 #C4CB7E #7EC4CB
tetradic
#CB7EC4 #CBAC7E #7ECB85 #7E9ECB
square
#CB7EC4 #CBAC7E #7ECB85 #7E9ECB
split-complementary
#CB7EC4 #9ECB7E #7ECBAC
monochromatic
#933B8B #B952B0 #CB7EC4 #DDAAD8 #EED5EC
Accessibility & contrast
On white
2.87
#CB7EC4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#CB7EC4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EC4
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EC4 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B92C7
Deuteranopia (green-blind)
#8F9CC2
Tritanopia (blue-blind)
#D18498
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cb7ec4; /* rgb */ color: rgb(203, 126, 196); /* oklch */ color: oklch(69.7% 0.131 330.2);
Tailwind
colors: {
custom: {
50: '#dca5d6',
500: '#cb7ec4',
950: '#000000',
},
}SCSS
$custom: #cb7ec4; $custom-light: #dca5d6; $custom-dark: #000000;
JSON
{
"hex": "#cb7ec4",
"rgb": {
"r": 203,
"g": 126,
"b": 196
},
"hsl": {
"h": 305.455,
"s": 42.541,
"l": 64.51
},
"oklch": {
"l": 0.69739,
"c": 0.13123,
"h": 330.2
},
"luminance": 0.31604
}Semantic roles & 50–950 ramp
primary
#CB7EC4
secondary
#C5E0C8
accent
#B63C30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83