#B862EF#B862EF
#B862EF is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.211 H 310.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B862EF |
|---|---|
| RGB | rgb(184, 98, 239) |
| HSL | hsl(277, 82%, 66%) |
| HSV | hsv(277, 59%, 94%) |
| CMYK | cmyk(23%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(57.23, 58.15, -57.47) |
| CIE-LCH | lch(57.23, 81.75, 315.34°) |
| OKLab | oklab(65.62% 0.1355 -0.1617) |
| OKLCH | oklch(65.62% 0.211 310) |
| XYZ | xyz(39.7119, 25.1585, 84.4087) |
| Luminance | 0.2516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.93
Bright Lavender
#C760FF
ΔE00 2.94
Light Urple
#B36FF6
ΔE00 3.22
Easter Purple
#C071FE
ΔE00 4.21
Lighter Purple
#A55AF4
ΔE00 4.36
Light Purple
#BF77F6
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B862EF #99EF62
analogous
#7162EF #B862EF #EF62DF
triadic
#B862EF #EFB862 #62EFB8
tetradic
#B862EF #EF7162 #99EF62 #62DFEF
square
#B862EF #EF7162 #99EF62 #62DFEF
split-complementary
#B862EF #DFEF62 #62EF71
monochromatic
#7F14C3 #9F2AE9 #B862EF #D19AF5 #EAD1FA
Accessibility & contrast
On white
3.48
#B862EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#B862EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B862EF
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B862EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B862EF | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C86F3
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#B17D9F
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b862ef; /* rgb */ color: rgb(184, 98, 239); /* oklch */ color: oklch(65.6% 0.211 310.0);
Tailwind
colors: {
custom: {
50: '#d193f5',
500: '#b862ef',
950: '#000000',
},
}SCSS
$custom: #b862ef; $custom-light: #d193f5; $custom-dark: #000000;
JSON
{
"hex": "#b862ef",
"rgb": {
"r": 184,
"g": 98,
"b": 239
},
"hsl": {
"h": 276.596,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.65617,
"c": 0.21101,
"h": 310
},
"luminance": 0.25158
}Semantic roles & 50–950 ramp
primary
#B862EF
secondary
#D1EEBF
accent
#DE085B
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85