#B862CC#B862CC
#B862CC is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.6% C 0.175 H 319.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B862CC |
|---|---|
| RGB | rgb(184, 98, 204) |
| HSL | hsl(289, 51%, 59%) |
| HSV | hsv(289, 52%, 80%) |
| CMYK | cmyk(9.8%, 52%, 0%, 20%) |
| CIE-LAB | lab(55.37, 50.88, -40.71) |
| CIE-LCH | lch(55.37, 65.16, 321.34°) |
| OKLab | oklab(63.65% 0.1336 -0.1129) |
| OKLCH | oklch(63.65% 0.175 319.8) |
| XYZ | xyz(35.0326, 23.2867, 59.7645) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.02
Pinky Purple
#C94CBE
ΔE00 5.58
Pinkish Purple
#D648D7
ΔE00 5.71
Amethyst
#9B5FC0
ΔE00 5.95
Soft Purple
#A66FB5
ΔE00 6.05
Orchid (survey)
#C875C4
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B862CC #76CC62
analogous
#8362CC #B862CC #CC62AB
triadic
#B862CC #CCB862 #62CCB8
tetradic
#B862CC #CC8362 #76CC62 #62ABCC
square
#B862CC #CC8362 #76CC62 #62ABCC
split-complementary
#B862CC #ABCC62 #62CC83
monochromatic
#762C88 #9F3BB6 #B862CC #CD90DB #E2BEEA
Accessibility & contrast
On white
3.71
#B862CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#B862CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B862CC
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B862CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B862CC | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#B9718E
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b862cc; /* rgb */ color: rgb(184, 98, 204); /* oklch */ color: oklch(63.6% 0.175 319.8);
Tailwind
colors: {
custom: {
50: '#cf92dc',
500: '#b862cc',
950: '#000000',
},
}SCSS
$custom: #b862cc; $custom-light: #cf92dc; $custom-dark: #000000;
JSON
{
"hex": "#b862cc",
"rgb": {
"r": 184,
"g": 98,
"b": 204
},
"hsl": {
"h": 288.679,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.63648,
"c": 0.1749,
"h": 319.8
},
"luminance": 0.23285
}Semantic roles & 50–950 ramp
primary
#B862CC
secondary
#B8DAB0
accent
#DA4D68
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83