#C862BA#C862BA
#C862BA is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.8% C 0.168 H 332.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C862BA |
|---|---|
| RGB | rgb(200, 98, 186) |
| HSL | hsl(308, 48%, 58%) |
| HSV | hsv(308, 51%, 78%) |
| CMYK | cmyk(0%, 51%, 7%, 21.6%) |
| CIE-LAB | lab(56.65, 52.12, -28.26) |
| CIE-LCH | lch(56.65, 59.28, 331.53°) |
| OKLab | oklab(64.77% 0.1493 -0.0768) |
| OKLCH | oklch(64.77% 0.168 332.8) |
| XYZ | xyz(37.0499, 24.5623, 49.2344) |
| Luminance | 0.2456 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.00
Orchid (survey)
#C875C4
ΔE00 4.53
Purpleish Pink
#DF4EC8
ΔE00 4.61
Pinky Purple
#C94CBE
ΔE00 4.64
Pale Magenta
#D767AD
ΔE00 5.47
Orchid
#DA70D6
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C862BA #62C870
analogous
#A362C8 #C862BA #C86287
triadic
#C862BA #BAC862 #62BAC8
tetradic
#C862BA #C8A362 #62C870 #6287C8
square
#C862BA #C8A362 #62C870 #6287C8
split-complementary
#C862BA #87C862 #62C8A3
monochromatic
#822E76 #AF3DA0 #C862BA #D88FCE #E8BDE2
Accessibility & contrast
On white
3.55
#C862BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#C862BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C862BA
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C862BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C862BA | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#7D8DB7
Tritanopia (blue-blind)
#D06985
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #c862ba; /* rgb */ color: rgb(200, 98, 186); /* oklch */ color: oklch(64.8% 0.168 332.8);
Tailwind
colors: {
custom: {
50: '#db93cf',
500: '#c862ba',
950: '#000000',
},
}SCSS
$custom: #c862ba; $custom-light: #db93cf; $custom-dark: #000000;
JSON
{
"hex": "#c862ba",
"rgb": {
"r": 200,
"g": 98,
"b": 186
},
"hsl": {
"h": 308.235,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.64768,
"c": 0.16787,
"h": 332.8
},
"luminance": 0.2456
}Semantic roles & 50–950 ramp
primary
#C862BA
secondary
#AFD7B4
accent
#D86350
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150D13
muted
#837E82