#CB7EC3#CB7EC3
#CB7EC3 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.7% C 0.130 H 330.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EC3 |
|---|---|
| RGB | rgb(203, 126, 195) |
| HSL | hsl(306, 43%, 65%) |
| HSV | hsv(306, 38%, 80%) |
| CMYK | cmyk(0%, 37.9%, 3.9%, 20.4%) |
| CIE-LAB | lab(62.98, 40.23, -23.60) |
| CIE-LCH | lch(62.98, 46.64, 329.61°) |
| OKLab | oklab(69.7% 0.1136 -0.0639) |
| OKLCH | oklch(69.7% 0.13 330.6) |
| XYZ | xyz(41.9392, 31.5603, 55.5018) |
| Luminance | 0.3156 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.64
Lavender Pink
#DD85D7
ΔE00 4.19
Orchid
#DA70D6
ΔE00 5.31
Pale Magenta
#D767AD
ΔE00 6.81
Purply Pink
#F075E6
ΔE00 7.67
Wisteria
#A87DC2
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EC3 #7ECB86
analogous
#AD7ECB #CB7EC3 #CB7E9D
triadic
#CB7EC3 #C3CB7E #7EC3CB
tetradic
#CB7EC3 #CBAD7E #7ECB86 #7E9DCB
square
#CB7EC3 #CBAD7E #7ECB86 #7E9DCB
split-complementary
#CB7EC3 #9DCB7E #7ECBAD
monochromatic
#933B8A #B952AF #CB7EC3 #DDAAD7 #EED5EC
Accessibility & contrast
On white
2.87
#CB7EC3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#CB7EC3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EC3
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EC3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EC3 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B92C6
Deuteranopia (green-blind)
#8F9CC1
Tritanopia (blue-blind)
#D18398
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cb7ec3; /* rgb */ color: rgb(203, 126, 195); /* oklch */ color: oklch(69.7% 0.130 330.6);
Tailwind
colors: {
custom: {
50: '#dca5d5',
500: '#cb7ec3',
950: '#000000',
},
}SCSS
$custom: #cb7ec3; $custom-light: #dca5d5; $custom-dark: #000000;
JSON
{
"hex": "#cb7ec3",
"rgb": {
"r": 203,
"g": 126,
"b": 195
},
"hsl": {
"h": 306.234,
"s": 42.541,
"l": 64.51
},
"oklch": {
"l": 0.69698,
"c": 0.1303,
"h": 330.6
},
"luminance": 0.31558
}Semantic roles & 50–950 ramp
primary
#CB7EC3
secondary
#C5E0C8
accent
#B63E30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83