#CA7CC2#CA7CC2
#CA7CC2 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.2% C 0.132 H 330.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CC2 |
|---|---|
| RGB | rgb(202, 124, 194) |
| HSL | hsl(306, 42%, 64%) |
| HSV | hsv(306, 39%, 79%) |
| CMYK | cmyk(0%, 38.6%, 4%, 20.8%) |
| CIE-LAB | lab(62.40, 40.80, -23.93) |
| CIE-LCH | lch(62.40, 47.30, 329.61°) |
| OKLab | oklab(69.22% 0.1152 -0.0648) |
| OKLCH | oklch(69.22% 0.132 330.6) |
| XYZ | xyz(41.3019, 30.8689, 54.8112) |
| Luminance | 0.3087 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.16
Lavender Pink
#DD85D7
ΔE00 4.52
Orchid
#DA70D6
ΔE00 5.12
Pale Magenta
#D767AD
ΔE00 6.52
Purplish Pink
#CE5DAE
ΔE00 7.49
Wisteria
#A87DC2
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CC2 #7CCA84
analogous
#AB7CCA #CA7CC2 #CA7C9B
triadic
#CA7CC2 #C2CA7C #7CC2CA
tetradic
#CA7CC2 #CAAB7C #7CCA84 #7C9BCA
square
#CA7CC2 #CAAB7C #7CCA84 #7C9BCA
split-complementary
#CA7CC2 #9BCA7C #7CCAAB
monochromatic
#913B88 #B850AE #CA7CC2 #DCA8D6 #EDD3EB
Accessibility & contrast
On white
2.93
#CA7CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#CA7CC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CC2
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CC2 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7990C5
Deuteranopia (green-blind)
#8D9BC0
Tritanopia (blue-blind)
#D08196
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #ca7cc2; /* rgb */ color: rgb(202, 124, 194); /* oklch */ color: oklch(69.2% 0.132 330.6);
Tailwind
colors: {
custom: {
50: '#dba3d4',
500: '#ca7cc2',
950: '#000000',
},
}SCSS
$custom: #ca7cc2; $custom-light: #dba3d4; $custom-dark: #000000;
JSON
{
"hex": "#ca7cc2",
"rgb": {
"r": 202,
"g": 124,
"b": 194
},
"hsl": {
"h": 306.154,
"s": 42.391,
"l": 63.922
},
"oklch": {
"l": 0.69222,
"c": 0.13218,
"h": 330.6
},
"luminance": 0.30867
}Semantic roles & 50–950 ramp
primary
#CA7CC2
secondary
#C3DFC6
accent
#B53E30
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83