#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
RGBrgb(185, 137, 254)
HSLhsl(265, 98%, 77%)
HSVhsv(265, 46%, 100%)
CMYKcmyk(27.2%, 46.1%, 0%, 0.4%)
CIE-LABlab(66.03, 41.36, -51.74)
CIE-LCHlch(66.03, 66.24, 308.64°)
OKLaboklab(72.4% 0.0879 -0.1451)
OKLCHoklch(72.4% 0.17 301.2)
XYZxyz(46.8386, 35.3612, 98.1045)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##B989FE1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.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

Preview Lab

Preview with #B989FE

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

Preview Lab → · Contrast checker → · Palette generator →

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