#B862FB#B862FB
#B862FB is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.4% C 0.224 H 307.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B862FB |
|---|---|
| RGB | rgb(184, 98, 251) |
| HSL | hsl(274, 95%, 68%) |
| HSV | hsv(274, 61%, 98%) |
| CMYK | cmyk(26.7%, 61%, 0%, 1.6%) |
| CIE-LAB | lab(57.93, 60.77, -63.00) |
| CIE-LCH | lch(57.93, 87.54, 313.97°) |
| OKLab | oklab(66.35% 0.1353 -0.178) |
| OKLCH | oklch(66.35% 0.224 307.2) |
| XYZ | xyz(41.5438, 25.8912, 94.0570) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 2.48
Light Urple
#B36FF6
ΔE00 2.81
Bright Lilac
#C95EFB
ΔE00 2.90
Easter Purple
#C071FE
ΔE00 3.69
Lighter Purple
#A55AF4
ΔE00 4.13
Light Purple
#BF77F6
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B862FB #A5FB62
analogous
#6B62FB #B862FB #FB62F2
triadic
#B862FB #FBB862 #62FBB8
tetradic
#B862FB #FB6B62 #A5FB62 #62F2FB
square
#B862FB #FB6B62 #A5FB62 #62F2FB
split-complementary
#B862FB #F2FB62 #62FB6B
monochromatic
#7F06DD #9D26F9 #B862FB #D39EFD #EED9FE
Accessibility & contrast
On white
3.40
#B862FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#B862FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B862FB
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B862FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B862FB | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D88FF
Deuteranopia (green-blind)
#468CF7
Tritanopia (blue-blind)
#AD81A6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b862fb; /* rgb */ color: rgb(184, 98, 251); /* oklch */ color: oklch(66.4% 0.224 307.2);
Tailwind
colors: {
custom: {
50: '#d193fd',
500: '#b862fb',
950: '#000000',
},
}SCSS
$custom: #b862fb; $custom-light: #d193fd; $custom-dark: #000000;
JSON
{
"hex": "#b862fb",
"rgb": {
"r": 184,
"g": 98,
"b": 251
},
"hsl": {
"h": 273.725,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.66354,
"c": 0.22357,
"h": 307.2
},
"luminance": 0.25891
}Semantic roles & 50–950 ramp
primary
#B862FB
secondary
#DAF3C5
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86