#B862CD#B862CD
#B862CD is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.7% C 0.176 H 319.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B862CD |
|---|---|
| RGB | rgb(184, 98, 205) |
| HSL | hsl(288, 52%, 59%) |
| HSV | hsv(288, 52%, 80%) |
| CMYK | cmyk(10.2%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(55.42, 51.08, -41.20) |
| CIE-LCH | lch(55.42, 65.62, 321.11°) |
| OKLab | oklab(63.7% 0.1337 -0.1143) |
| OKLCH | oklch(63.7% 0.176 319.5) |
| XYZ | xyz(35.1529, 23.3349, 60.3982) |
| Luminance | 0.2333 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.95
Pinky Purple
#C94CBE
ΔE00 5.68
Pinkish Purple
#D648D7
ΔE00 5.70
Amethyst
#9B5FC0
ΔE00 5.95
Soft Purple
#A66FB5
ΔE00 6.16
Bright Lilac
#C95EFB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B862CD #77CD62
analogous
#8362CD #B862CD #CD62AD
triadic
#B862CD #CDB862 #62CDB8
tetradic
#B862CD #CD8362 #77CD62 #62ADCD
square
#B862CD #CD8362 #77CD62 #62ADCD
split-complementary
#B862CD #ADCD62 #62CD83
monochromatic
#772C89 #9F3AB7 #B862CD #CD90DC #E2BFEB
Accessibility & contrast
On white
3.71
#B862CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#B862CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B862CD
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B862CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B862CD | 1.00 | 3.71 | 5.67 | 5.67 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#6988CA
Tritanopia (blue-blind)
#B9718E
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b862cd; /* rgb */ color: rgb(184, 98, 205); /* oklch */ color: oklch(63.7% 0.176 319.5);
Tailwind
colors: {
custom: {
50: '#d092dc',
500: '#b862cd',
950: '#000000',
},
}SCSS
$custom: #b862cd; $custom-light: #d092dc; $custom-dark: #000000;
JSON
{
"hex": "#b862cd",
"rgb": {
"r": 184,
"g": 98,
"b": 205
},
"hsl": {
"h": 288.224,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.637,
"c": 0.1759,
"h": 319.5
},
"luminance": 0.23333
}Semantic roles & 50–950 ramp
primary
#B862CD
secondary
#B9DAB1
accent
#DB4D69
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83