#C862BD#C862BD
#C862BD is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.9% C 0.170 H 331.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #C862BD |
|---|---|
| RGB | rgb(200, 98, 189) |
| HSL | hsl(306, 48%, 58%) |
| HSV | hsv(306, 51%, 78%) |
| CMYK | cmyk(0%, 51%, 5.5%, 21.6%) |
| CIE-LAB | lab(56.77, 52.62, -29.78) |
| CIE-LCH | lch(56.77, 60.47, 330.49°) |
| OKLab | oklab(64.9% 0.1498 -0.0812) |
| OKLCH | oklch(64.9% 0.17 331.5) |
| XYZ | xyz(37.3722, 24.6912, 50.9317) |
| Luminance | 0.2469 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.56
Purpleish Pink
#DF4EC8
ΔE00 4.42
Orchid (survey)
#C875C4
ΔE00 4.44
Pinky Purple
#C94CBE
ΔE00 4.47
Orchid
#DA70D6
ΔE00 5.59
Pale Magenta
#D767AD
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C862BD #62C86D
analogous
#A062C8 #C862BD #C8628A
triadic
#C862BD #BDC862 #62BDC8
tetradic
#C862BD #C8A062 #62C86D #628AC8
square
#C862BD #C8A062 #62C86D #628AC8
split-complementary
#C862BD #8AC862 #62C8A0
monochromatic
#822E79 #AF3DA3 #C862BD #D88FD0 #E8BDE3
Accessibility & contrast
On white
3.54
#C862BD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#C862BD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C862BD
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C862BD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C862BD | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#7C8DBA
Tritanopia (blue-blind)
#CF6A87
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #c862bd; /* rgb */ color: rgb(200, 98, 189); /* oklch */ color: oklch(64.9% 0.170 331.5);
Tailwind
colors: {
custom: {
50: '#db93d1',
500: '#c862bd',
950: '#000000',
},
}SCSS
$custom: #c862bd; $custom-light: #db93d1; $custom-dark: #000000;
JSON
{
"hex": "#c862bd",
"rgb": {
"r": 200,
"g": 98,
"b": 189
},
"hsl": {
"h": 306.471,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.64903,
"c": 0.17039,
"h": 331.5
},
"luminance": 0.24689
}Semantic roles & 50–950 ramp
primary
#C862BD
secondary
#AFD7B3
accent
#D85F50
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150D14
muted
#837E82