#B982DF#B982DF
#B982DF is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.7% C 0.143 H 310.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B982DF |
|---|---|
| RGB | rgb(185, 130, 223) |
| HSL | hsl(275, 59%, 69%) |
| HSV | hsv(275, 42%, 87%) |
| CMYK | cmyk(17%, 41.7%, 0%, 12.5%) |
| CIE-LAB | lab(63.02, 38.14, -39.38) |
| CIE-LCH | lch(63.02, 54.82, 314.08°) |
| OKLab | oklab(69.66% 0.0928 -0.1092) |
| OKLCH | oklch(69.66% 0.143 310.3) |
| XYZ | xyz(41.3071, 31.6079, 73.7226) |
| Luminance | 0.3161 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.82
Pale Purple
#B790D4
ΔE00 5.13
Liliac
#C48EFD
ΔE00 5.25
Wisteria
#A87DC2
ΔE00 5.49
Easter Purple
#C071FE
ΔE00 6.52
Light Urple
#B36FF6
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B982DF #A8DF82
analogous
#8B82DF #B982DF #DF82D7
triadic
#B982DF #DFB982 #82DFB9
tetradic
#B982DF #DF8B82 #A8DF82 #82D7DF
square
#B982DF #DF8B82 #A8DF82 #82D7DF
split-complementary
#B982DF #D7DF82 #82DF8B
monochromatic
#802FB8 #9E51D3 #B982DF #D4B3EB #F0E3F8
Accessibility & contrast
On white
2.87
#B982DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#B982DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B982DF
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B982DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B982DF | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#7C9ADC
Tritanopia (blue-blind)
#B590A6
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b982df; /* rgb */ color: rgb(185, 130, 223); /* oklch */ color: oklch(69.7% 0.143 310.3);
Tailwind
colors: {
custom: {
50: '#cfa7e9',
500: '#b982df',
950: '#000000',
},
}SCSS
$custom: #b982df; $custom-light: #cfa7e9; $custom-dark: #000000;
JSON
{
"hex": "#b982df",
"rgb": {
"r": 185,
"g": 130,
"b": 223
},
"hsl": {
"h": 275.484,
"s": 59.236,
"l": 69.216
},
"oklch": {
"l": 0.69665,
"c": 0.14332,
"h": 310.3
},
"luminance": 0.31607
}Semantic roles & 50–950 ramp
primary
#B982DF
secondary
#DCECD1
accent
#C71F63
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84