#B989FC#B989FC

#B989FC is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.167 H 301.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B989FC
RGBrgb(185, 137, 252)
HSLhsl(265, 95%, 76%)
HSVhsv(265, 46%, 99%)
CMYKcmyk(26.6%, 45.6%, 0%, 1.2%)
CIE-LABlab(65.93, 40.89, -50.80)
CIE-LCHlch(65.93, 65.21, 308.83°)
OKLaboklab(72.3% 0.0877 -0.1424)
OKLCHoklch(72.3% 0.167 301.6)
XYZxyz(46.5200, 35.2338, 96.4266)
Luminance0.3523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B989FC #CCFC89
analogous
#8993FC #B989FC #F289FC
triadic
#B989FC #FCB989 #89FCB9
tetradic
#B989FC #FC8993 #CCFC89 #89FCF2
square
#B989FC #FC8993 #CCFC89 #89FCF2
split-complementary
#B989FC #FCF289 #93FC89
monochromatic
#7212F9 #964DFA #B989FC #DCC5FE #EDE1FE

Accessibility & contrast

On white

2.61
#B989FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B989FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B989FC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B989FC#FFFFFF#000000##000000
##B989FC1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#73A0F9
Tritanopia (blue-blind)
#AD9DB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b989fc;
/* rgb */ color: rgb(185, 137, 252);
/* oklch */ color: oklch(72.3% 0.167 301.6);
Tailwind
colors: {
  custom: {
    50: '#d0acfe',
    500: '#b989fc',
    950: '#000000',
  },
}
SCSS
$custom: #b989fc;
$custom-light: #d0acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b989fc",
  "rgb": {
    "r": 185,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 265.043,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72297,
    "c": 0.1672,
    "h": 301.6
  },
  "luminance": 0.35234
}

Semantic roles & 50–950 ramp

primary
#B989FC
secondary
#E8F6D5
accent
#E60086
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B989FC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B989FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva