#B989EC#B989EC

#B989EC is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.5% C 0.147 H 305.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B989EC
RGBrgb(185, 137, 236)
HSLhsl(269, 72%, 73%)
HSVhsv(269, 42%, 93%)
CMYKcmyk(21.6%, 41.9%, 0%, 7.5%)
CIE-LABlab(65.17, 37.18, -43.21)
CIE-LCHlch(65.17, 57.01, 310.71°)
OKLaboklab(71.48% 0.0853 -0.1203)
OKLCHoklch(71.48% 0.147 305.3)
XYZxyz(44.0905, 34.2620, 83.6311)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B989EC #BCEC89
analogous
#898AEC #B989EC #EB89EC
triadic
#B989EC #ECB989 #89ECB9
tetradic
#B989EC #EC898A #BCEC89 #89ECEB
square
#B989EC #EC898A #BCEC89 #89ECEB
split-complementary
#B989EC #ECEB89 #8AEC89
monochromatic
#7B23D8 #9A54E4 #B989EC #D8BEF4 #EFE5FB

Accessibility & contrast

On white

2.67
#B989EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#B989EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B989EC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B989EC#FFFFFF#000000##000000
##B989EC1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#B199AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b989ec;
/* rgb */ color: rgb(185, 137, 236);
/* oklch */ color: oklch(71.5% 0.147 305.3);
Tailwind
colors: {
  custom: {
    50: '#d0acf2',
    500: '#b989ec',
    950: '#000000',
  },
}
SCSS
$custom: #b989ec;
$custom-light: #d0acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b989ec",
  "rgb": {
    "r": 185,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 269.091,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.14747,
    "h": 305.3
  },
  "luminance": 0.34262
}

Semantic roles & 50–950 ramp

primary
#B989EC
secondary
#E6F2D9
accent
#D41176
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B989EC

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

Preview Lab → · Contrast checker → · Palette generator →

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