#C662DA#C662DA
#C662DA is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.1% C 0.196 H 320.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C662DA |
|---|---|
| RGB | rgb(198, 98, 218) |
| HSL | hsl(290, 62%, 62%) |
| HSV | hsv(290, 55%, 85%) |
| CMYK | cmyk(9.2%, 55%, 0%, 14.5%) |
| CIE-LAB | lab(57.85, 57.33, -44.60) |
| CIE-LCH | lch(57.85, 72.64, 322.12°) |
| OKLab | oklab(66.08% 0.1514 -0.1238) |
| OKLCH | oklch(66.08% 0.196 320.7) |
| XYZ | xyz(40.3098, 25.8049, 69.1736) |
| Luminance | 0.2580 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.04
Pinkish Purple
#D648D7
ΔE00 4.48
Heliotrope
#D94FF5
ΔE00 4.72
Bright Lilac
#C95EFB
ΔE00 4.97
Bright Lavender
#C760FF
ΔE00 5.62
Orchid
#DA70D6
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C662DA #76DA62
analogous
#8A62DA #C662DA #DA62B2
triadic
#C662DA #DAC662 #62DAC6
tetradic
#C662DA #DA8A62 #76DA62 #62B2DA
square
#C662DA #DA8A62 #76DA62 #62B2DA
split-complementary
#C662DA #B2DA62 #62DA8A
monochromatic
#89259D #B431CE #C662DA #D894E6 #EAC5F1
Accessibility & contrast
On white
3.41
#C662DA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#C662DA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C662DA
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C662DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C662DA | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B84DE
Deuteranopia (green-blind)
#6D8FD7
Tritanopia (blue-blind)
#C77395
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c662da; /* rgb */ color: rgb(198, 98, 218); /* oklch */ color: oklch(66.1% 0.196 320.7);
Tailwind
colors: {
custom: {
50: '#da93e6',
500: '#c662da',
950: '#000000',
},
}SCSS
$custom: #c662da; $custom-light: #da93e6; $custom-dark: #000000;
JSON
{
"hex": "#c662da",
"rgb": {
"r": 198,
"g": 98,
"b": 218
},
"hsl": {
"h": 290,
"s": 61.856,
"l": 61.961
},
"oklch": {
"l": 0.6608,
"c": 0.19559,
"h": 320.7
},
"luminance": 0.25803
}Semantic roles & 50–950 ramp
primary
#C662DA
secondary
#BDE2B6
accent
#CA1C39
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84