#B862CF#B862CF
#B862CF is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.8% C 0.178 H 318.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B862CF |
|---|---|
| RGB | rgb(184, 98, 207) |
| HSL | hsl(287, 53%, 60%) |
| HSV | hsv(287, 53%, 81%) |
| CMYK | cmyk(11.1%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(55.51, 51.48, -42.18) |
| CIE-LCH | lch(55.51, 66.55, 320.67°) |
| OKLab | oklab(63.81% 0.1339 -0.1172) |
| OKLCH | oklch(63.81% 0.178 318.8) |
| XYZ | xyz(35.3958, 23.4321, 61.6777) |
| Luminance | 0.2343 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.83
Pinkish Purple
#D648D7
ΔE00 5.70
Pinky Purple
#C94CBE
ΔE00 5.90
Amethyst
#9B5FC0
ΔE00 5.96
Soft Purple
#A66FB5
ΔE00 6.39
Bright Lilac
#C95EFB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B862CF #79CF62
analogous
#8162CF #B862CF #CF62B0
triadic
#B862CF #CFB862 #62CFB8
tetradic
#B862CF #CF8162 #79CF62 #62B0CF
square
#B862CF #CF8162 #79CF62 #62B0CF
split-complementary
#B862CF #B0CF62 #62CF81
monochromatic
#772B8C #9F39BB #B862CF #CD91DD #E2C0EC
Accessibility & contrast
On white
3.69
#B862CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#B862CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B862CF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B862CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B862CF | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D7FD3
Deuteranopia (green-blind)
#6888CC
Tritanopia (blue-blind)
#B8728F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b862cf; /* rgb */ color: rgb(184, 98, 207); /* oklch */ color: oklch(63.8% 0.178 318.8);
Tailwind
colors: {
custom: {
50: '#d092de',
500: '#b862cf',
950: '#000000',
},
}SCSS
$custom: #b862cf; $custom-light: #d092de; $custom-dark: #000000;
JSON
{
"hex": "#b862cf",
"rgb": {
"r": 184,
"g": 98,
"b": 207
},
"hsl": {
"h": 287.339,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.63806,
"c": 0.17793,
"h": 318.8
},
"luminance": 0.23431
}Semantic roles & 50–950 ramp
primary
#B862CF
secondary
#BADBB1
accent
#DD4B6A
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83