#C262CA#C262CA
#C262CA is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.8% C 0.178 H 324.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #C262CA |
|---|---|
| RGB | rgb(194, 98, 202) |
| HSL | hsl(295, 50%, 59%) |
| HSV | hsv(295, 51%, 79%) |
| CMYK | cmyk(4%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(56.56, 53.24, -37.61) |
| CIE-LCH | lch(56.56, 65.19, 324.76°) |
| OKLab | oklab(64.77% 0.145 -0.1037) |
| OKLCH | oklch(64.77% 0.178 324.4) |
| XYZ | xyz(37.2755, 24.4708, 58.6256) |
| Luminance | 0.2447 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.27
Pinky Purple
#C94CBE
ΔE00 4.66
Pinkish Purple
#D648D7
ΔE00 4.80
Purpleish Pink
#DF4EC8
ΔE00 5.42
Orchid (survey)
#C875C4
ΔE00 5.48
Orchid
#DA70D6
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C262CA #6ACA62
analogous
#8E62CA #C262CA #CA629E
triadic
#C262CA #CAC262 #62CAC2
tetradic
#C262CA #CA8E62 #6ACA62 #629ECA
square
#C262CA #CA8E62 #6ACA62 #629ECA
split-complementary
#C262CA #9ECA62 #62CA8E
monochromatic
#7E2D85 #A93CB3 #C262CA #D490D9 #E6BEE9
Accessibility & contrast
On white
3.56
#C262CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#C262CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C262CA
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C262CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C262CA | 1.00 | 3.56 | 5.89 | 5.89 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#728CC7
Tritanopia (blue-blind)
#C66F8D
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #c262ca; /* rgb */ color: rgb(194, 98, 202); /* oklch */ color: oklch(64.8% 0.178 324.4);
Tailwind
colors: {
custom: {
50: '#d792da',
500: '#c262ca',
950: '#000000',
},
}SCSS
$custom: #c262ca; $custom-light: #d792da; $custom-dark: #000000;
JSON
{
"hex": "#c262ca",
"rgb": {
"r": 194,
"g": 98,
"b": 202
},
"hsl": {
"h": 295.385,
"s": 49.524,
"l": 58.824
},
"oklch": {
"l": 0.64766,
"c": 0.1783,
"h": 324.4
},
"luminance": 0.24469
}Semantic roles & 50–950 ramp
primary
#C262CA
secondary
#B3D8AF
accent
#D94F59
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83