#B989FE#B989FE
#B989FE is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.4% C 0.170 H 301.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B989FE |
|---|---|
| RGB | rgb(185, 137, 254) |
| HSL | hsl(265, 98%, 77%) |
| HSV | hsv(265, 46%, 100%) |
| CMYK | cmyk(27.2%, 46.1%, 0%, 0.4%) |
| CIE-LAB | lab(66.03, 41.36, -51.74) |
| CIE-LCH | lch(66.03, 66.24, 308.64°) |
| OKLab | oklab(72.4% 0.0879 -0.1451) |
| OKLCH | oklch(72.4% 0.17 301.2) |
| XYZ | xyz(46.8386, 35.3612, 98.1045) |
| Luminance | 0.3536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.48
Light Purple
#BF77F6
ΔE00 4.77
Easter Purple
#C071FE
ΔE00 5.80
Baby Purple
#CA9BF7
ΔE00 6.03
Pastel Purple
#CAA0FF
ΔE00 6.37
Light Urple
#B36FF6
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B989FE #CEFE89
analogous
#8994FE #B989FE #F389FE
triadic
#B989FE #FEB989 #89FEB9
tetradic
#B989FE #FE8994 #CEFE89 #89FEF3
square
#B989FE #FE8994 #CEFE89 #89FEF3
split-complementary
#B989FE #FEF389 #94FE89
monochromatic
#7110FD #954CFD #B989FE #DDC6FF #EDE1FF
Accessibility & contrast
On white
2.60
#B989FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#B989FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B989FE
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B989FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B989FE | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#AC9EB8
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b989fe; /* rgb */ color: rgb(185, 137, 254); /* oklch */ color: oklch(72.4% 0.170 301.2);
Tailwind
colors: {
custom: {
50: '#d0acff',
500: '#b989fe',
950: '#000000',
},
}SCSS
$custom: #b989fe; $custom-light: #d0acff; $custom-dark: #000000;
JSON
{
"hex": "#b989fe",
"rgb": {
"r": 185,
"g": 137,
"b": 254
},
"hsl": {
"h": 264.615,
"s": 98.319,
"l": 76.667
},
"oklch": {
"l": 0.72403,
"c": 0.16966,
"h": 301.2
},
"luminance": 0.35361
}Semantic roles & 50–950 ramp
primary
#B989FE
secondary
#E9F7D4
accent
#E60087
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86