#B982FC#B982FC
#B982FC is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.2% C 0.178 H 303.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B982FC |
|---|---|
| RGB | rgb(185, 130, 252) |
| HSL | hsl(267, 95%, 75%) |
| HSV | hsv(267, 48%, 99%) |
| CMYK | cmyk(26.6%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(64.41, 44.71, -53.21) |
| CIE-LCH | lch(64.41, 69.50, 310.04°) |
| OKLab | oklab(71.16% 0.0969 -0.1494) |
| OKLCH | oklch(71.16% 0.178 303) |
| XYZ | xyz(45.5570, 33.3079, 96.1056) |
| Luminance | 0.3331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.10
Liliac
#C48EFD
ΔE00 3.50
Easter Purple
#C071FE
ΔE00 4.09
Light Urple
#B36FF6
ΔE00 4.72
Baby Purple
#CA9BF7
ΔE00 7.26
Bright Lavender
#C760FF
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B982FC #C5FC82
analogous
#8288FC #B982FC #F682FC
triadic
#B982FC #FCB982 #82FCB9
tetradic
#B982FC #FC8288 #C5FC82 #82FCF6
square
#B982FC #FC8288 #C5FC82 #82FCF6
split-complementary
#B982FC #FCF682 #88FC82
monochromatic
#760AF9 #9846FB #B982FC #DABEFD #EEE1FE
Accessibility & contrast
On white
2.74
#B982FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#B982FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B982FC
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B982FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B982FC | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6B9CF9
Tritanopia (blue-blind)
#AD98B3
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b982fc; /* rgb */ color: rgb(185, 130, 252); /* oklch */ color: oklch(71.2% 0.178 303.0);
Tailwind
colors: {
custom: {
50: '#d1a7fe',
500: '#b982fc',
950: '#000000',
},
}SCSS
$custom: #b982fc; $custom-light: #d1a7fe; $custom-dark: #000000;
JSON
{
"hex": "#b982fc",
"rgb": {
"r": 185,
"g": 130,
"b": 252
},
"hsl": {
"h": 267.049,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.71161,
"c": 0.17805,
"h": 303
},
"luminance": 0.33308
}Semantic roles & 50–950 ramp
primary
#B982FC
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86