#B862CE#B862CE
#B862CE is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.8% C 0.177 H 319.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B862CE |
|---|---|
| RGB | rgb(184, 98, 206) |
| HSL | hsl(288, 52%, 60%) |
| HSV | hsv(288, 52%, 81%) |
| CMYK | cmyk(10.7%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(55.47, 51.28, -41.69) |
| CIE-LCH | lch(55.47, 66.09, 320.89°) |
| OKLab | oklab(63.75% 0.1338 -0.1157) |
| OKLCH | oklch(63.75% 0.177 319.1) |
| XYZ | xyz(35.2740, 23.3833, 61.0359) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.88
Pinkish Purple
#D648D7
ΔE00 5.70
Pinky Purple
#C94CBE
ΔE00 5.79
Amethyst
#9B5FC0
ΔE00 5.95
Soft Purple
#A66FB5
ΔE00 6.27
Bright Lilac
#C95EFB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B862CE #78CE62
analogous
#8262CE #B862CE #CE62AE
triadic
#B862CE #CEB862 #62CEB8
tetradic
#B862CE #CE8262 #78CE62 #62AECE
square
#B862CE #CE8262 #78CE62 #62AECE
split-complementary
#B862CE #AECE62 #62CE82
monochromatic
#772B8A #9F3AB9 #B862CE #CD91DD #E2BFEB
Accessibility & contrast
On white
3.70
#B862CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#B862CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B862CE
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B862CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B862CE | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#6988CB
Tritanopia (blue-blind)
#B8728F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b862ce; /* rgb */ color: rgb(184, 98, 206); /* oklch */ color: oklch(63.8% 0.177 319.1);
Tailwind
colors: {
custom: {
50: '#d092dd',
500: '#b862ce',
950: '#000000',
},
}SCSS
$custom: #b862ce; $custom-light: #d092dd; $custom-dark: #000000;
JSON
{
"hex": "#b862ce",
"rgb": {
"r": 184,
"g": 98,
"b": 206
},
"hsl": {
"h": 287.778,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.63753,
"c": 0.17691,
"h": 319.1
},
"luminance": 0.23382
}Semantic roles & 50–950 ramp
primary
#B862CE
secondary
#B9DBB1
accent
#DC4C69
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83