#CB7EC2#CB7EC2
#CB7EC2 is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.7% C 0.129 H 331.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #CB7EC2 |
|---|---|
| RGB | rgb(203, 126, 194) |
| HSL | hsl(307, 43%, 65%) |
| HSV | hsv(307, 38%, 80%) |
| CMYK | cmyk(0%, 37.9%, 4.4%, 20.4%) |
| CIE-LAB | lab(62.94, 40.05, -23.09) |
| CIE-LCH | lch(62.94, 46.23, 330.04°) |
| OKLab | oklab(69.66% 0.1133 -0.0624) |
| OKLCH | oklch(69.66% 0.129 331.1) |
| XYZ | xyz(41.8266, 31.5153, 54.9084) |
| Luminance | 0.3151 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.76
Lavender Pink
#DD85D7
ΔE00 4.31
Orchid
#DA70D6
ΔE00 5.47
Pale Magenta
#D767AD
ΔE00 6.68
Wisteria
#A87DC2
ΔE00 7.79
Purply Pink
#F075E6
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB7EC2 #7ECB87
analogous
#AE7ECB #CB7EC2 #CB7E9C
triadic
#CB7EC2 #C2CB7E #7EC2CB
tetradic
#CB7EC2 #CBAE7E #7ECB87 #7E9CCB
square
#CB7EC2 #CBAE7E #7ECB87 #7E9CCB
split-complementary
#CB7EC2 #9CCB7E #7ECBAE
monochromatic
#933B89 #B952AD #CB7EC2 #DDAAD7 #EED5EB
Accessibility & contrast
On white
2.88
#CB7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#CB7EC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB7EC2
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB7EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB7EC2 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C92C5
Deuteranopia (green-blind)
#8F9CC0
Tritanopia (blue-blind)
#D18397
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cb7ec2; /* rgb */ color: rgb(203, 126, 194); /* oklch */ color: oklch(69.7% 0.129 331.1);
Tailwind
colors: {
custom: {
50: '#dca5d4',
500: '#cb7ec2',
950: '#000000',
},
}SCSS
$custom: #cb7ec2; $custom-light: #dca5d4; $custom-dark: #000000;
JSON
{
"hex": "#cb7ec2",
"rgb": {
"r": 203,
"g": 126,
"b": 194
},
"hsl": {
"h": 307.013,
"s": 42.541,
"l": 64.51
},
"oklch": {
"l": 0.69657,
"c": 0.12939,
"h": 331.1
},
"luminance": 0.31513
}Semantic roles & 50–950 ramp
primary
#CB7EC2
secondary
#C5E0C8
accent
#B64030
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83