#BB89EC#BB89EC

#BB89EC is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.7% C 0.148 H 306.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#BB89EC
RGBrgb(187, 137, 236)
HSLhsl(270, 72%, 73%)
HSVhsv(270, 42%, 93%)
CMYKcmyk(20.8%, 41.9%, 0%, 7.5%)
CIE-LABlab(65.37, 37.75, -42.89)
CIE-LCHlch(65.37, 57.14, 311.35°)
OKLaboklab(71.67% 0.0876 -0.1193)
OKLCHoklch(71.67% 0.148 306.3)
XYZxyz(44.5765, 34.5126, 83.6539)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB89EC #BAEC89
analogous
#8989EC #BB89EC #EC89EC
triadic
#BB89EC #ECBB89 #89ECBB
tetradic
#BB89EC #EC8989 #BAEC89 #89ECEC
square
#BB89EC #EC8989 #BAEC89 #89ECEC
split-complementary
#BB89EC #ECEC89 #89EC89
monochromatic
#7E23D8 #9D54E4 #BB89EC #D9BEF4 #F0E5FB

Accessibility & contrast

On white

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

On black

7.90
#BB89EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB89EC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB89EC#FFFFFF#000000##000000
##BB89EC1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb89ec;
/* rgb */ color: rgb(187, 137, 236);
/* oklch */ color: oklch(71.7% 0.148 306.3);
Tailwind
colors: {
  custom: {
    50: '#d1acf2',
    500: '#bb89ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb89ec;
$custom-light: #d1acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb89ec",
  "rgb": {
    "r": 187,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 270.303,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71672,
    "c": 0.14806,
    "h": 306.3
  },
  "luminance": 0.34512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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