#BB89EB#BB89EB

#BB89EB is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.6% C 0.147 H 306.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#BB89EB
RGBrgb(187, 137, 235)
HSLhsl(271, 71%, 73%)
HSVhsv(271, 42%, 92%)
CMYKcmyk(20.4%, 41.7%, 0%, 7.8%)
CIE-LABlab(65.32, 37.53, -42.41)
CIE-LCHlch(65.32, 56.63, 311.50°)
OKLaboklab(71.62% 0.0874 -0.118)
OKLCHoklch(71.62% 0.147 306.5)
XYZxyz(44.4316, 34.4546, 82.8909)
Luminance0.3445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB89EB #B9EB89
analogous
#8A89EB #BB89EB #EB89EA
triadic
#BB89EB #EBBB89 #89EBBB
tetradic
#BB89EB #EB8A89 #B9EB89 #89EAEB
square
#BB89EB #EB8A89 #B9EB89 #89EAEB
split-complementary
#BB89EB #EAEB89 #89EB8A
monochromatic
#7F24D5 #9D55E2 #BB89EB #D9BDF4 #F0E5FB

Accessibility & contrast

On white

2.66
#BB89EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#BB89EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB89EB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB89EB#FFFFFF#000000##000000
##BB89EB1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#B499AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb89eb;
/* rgb */ color: rgb(187, 137, 235);
/* oklch */ color: oklch(71.6% 0.147 306.5);
Tailwind
colors: {
  custom: {
    50: '#d1acf2',
    500: '#bb89eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb89eb;
$custom-light: #d1acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb89eb",
  "rgb": {
    "r": 187,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 270.612,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71623,
    "c": 0.14683,
    "h": 306.5
  },
  "luminance": 0.34454
}

Semantic roles & 50–950 ramp

primary
#BB89EB
secondary
#E5F2D9
accent
#D31271
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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