#B862FC#B862FC
#B862FC is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.4% C 0.225 H 307.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B862FC |
|---|---|
| RGB | rgb(184, 98, 252) |
| HSL | hsl(274, 96%, 69%) |
| HSV | hsv(274, 61%, 99%) |
| CMYK | cmyk(27%, 61.1%, 0%, 1.2%) |
| CIE-LAB | lab(57.99, 61.00, -63.46) |
| CIE-LCH | lch(57.99, 88.02, 313.87°) |
| OKLab | oklab(66.42% 0.1353 -0.1793) |
| OKLCH | oklch(66.42% 0.225 307) |
| XYZ | xyz(41.7019, 25.9545, 94.8894) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 2.49
Light Urple
#B36FF6
ΔE00 2.83
Bright Lilac
#C95EFB
ΔE00 2.94
Easter Purple
#C071FE
ΔE00 3.67
Lighter Purple
#A55AF4
ΔE00 4.15
Light Purple
#BF77F6
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B862FC #A6FC62
analogous
#6B62FC #B862FC #FC62F3
triadic
#B862FC #FCB862 #62FCB8
tetradic
#B862FC #FC6B62 #A6FC62 #62F3FC
square
#B862FC #FC6B62 #A6FC62 #62F3FC
split-complementary
#B862FC #F3FC62 #62FC6B
monochromatic
#7F04DF #9D26FB #B862FC #D39EFD #EEDAFE
Accessibility & contrast
On white
3.39
#B862FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#B862FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B862FC
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B862FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B862FC | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0788FF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#AD81A6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #b862fc; /* rgb */ color: rgb(184, 98, 252); /* oklch */ color: oklch(66.4% 0.225 307.0);
Tailwind
colors: {
custom: {
50: '#d193fe',
500: '#b862fc',
950: '#000000',
},
}SCSS
$custom: #b862fc; $custom-light: #d193fe; $custom-dark: #000000;
JSON
{
"hex": "#b862fc",
"rgb": {
"r": 184,
"g": 98,
"b": 252
},
"hsl": {
"h": 273.506,
"s": 96.25,
"l": 68.627
},
"oklch": {
"l": 0.66417,
"c": 0.22462,
"h": 307
},
"luminance": 0.25954
}Semantic roles & 50–950 ramp
primary
#B862FC
secondary
#DAF4C6
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86