#B982FE#B982FE
#B982FE is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.3% C 0.180 H 302.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B982FE |
|---|---|
| RGB | rgb(185, 130, 254) |
| HSL | hsl(267, 98%, 75%) |
| HSV | hsv(267, 49%, 100%) |
| CMYK | cmyk(27.2%, 48.8%, 0%, 0.4%) |
| CIE-LAB | lab(64.51, 45.18, -54.15) |
| CIE-LCH | lch(64.51, 70.52, 309.84°) |
| OKLab | oklab(71.27% 0.0971 -0.1521) |
| OKLCH | oklch(71.27% 0.18 302.6) |
| XYZ | xyz(45.8756, 33.4353, 97.7835) |
| Luminance | 0.3343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.23
Liliac
#C48EFD
ΔE00 3.59
Easter Purple
#C071FE
ΔE00 4.10
Light Urple
#B36FF6
ΔE00 4.75
Baby Purple
#CA9BF7
ΔE00 7.38
Bright Lavender
#C760FF
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B982FE #C7FE82
analogous
#8289FE #B982FE #F782FE
triadic
#B982FE #FEB982 #82FEB9
tetradic
#B982FE #FE8289 #C7FE82 #82FEF7
square
#B982FE #FE8289 #C7FE82 #82FEF7
split-complementary
#B982FE #FEF782 #89FE82
monochromatic
#7509FD #9745FE #B982FE #DBBFFE #EEE1FF
Accessibility & contrast
On white
2.73
#B982FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#B982FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B982FE
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B982FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B982FE | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#AC98B4
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b982fe; /* rgb */ color: rgb(185, 130, 254); /* oklch */ color: oklch(71.3% 0.180 302.6);
Tailwind
colors: {
custom: {
50: '#d1a7ff',
500: '#b982fe',
950: '#000000',
},
}SCSS
$custom: #b982fe; $custom-light: #d1a7ff; $custom-dark: #000000;
JSON
{
"hex": "#b982fe",
"rgb": {
"r": 185,
"g": 130,
"b": 254
},
"hsl": {
"h": 266.613,
"s": 98.413,
"l": 75.294
},
"oklch": {
"l": 0.7127,
"c": 0.18045,
"h": 302.6
},
"luminance": 0.33435
}Semantic roles & 50–950 ramp
primary
#B982FE
secondary
#E7F7D4
accent
#E60080
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86