#BB89E2#BB89E2

#BB89E2 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.2% C 0.136 H 309.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#BB89E2
RGBrgb(187, 137, 226)
HSLhsl(274, 61%, 71%)
HSVhsv(274, 39%, 89%)
CMYKcmyk(17.3%, 39.4%, 0%, 11.4%)
CIE-LABlab(64.92, 35.53, -38.06)
CIE-LCHlch(64.92, 52.06, 313.03°)
OKLaboklab(71.19% 0.0858 -0.1054)
OKLCHoklch(71.19% 0.136 309.1)
XYZxyz(43.1641, 33.9476, 76.2154)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB89E2 #B0E289
analogous
#8E89E2 #BB89E2 #E289DC
triadic
#BB89E2 #E2BB89 #89E2BB
tetradic
#BB89E2 #E28E89 #B0E289 #89DCE2
square
#BB89E2 #E28E89 #B0E289 #89DCE2
split-complementary
#BB89E2 #DCE289 #89E28E
monochromatic
#812FC1 #9F58D6 #BB89E2 #D7BAEE #F1E6F9

Accessibility & contrast

On white

2.70
#BB89E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#BB89E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB89E2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB89E2#FFFFFF#000000##000000
##BB89E21.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#779BE5
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#B696AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bb89e2;
/* rgb */ color: rgb(187, 137, 226);
/* oklch */ color: oklch(71.2% 0.136 309.1);
Tailwind
colors: {
  custom: {
    50: '#d1aceb',
    500: '#bb89e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb89e2;
$custom-light: #d1aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb89e2",
  "rgb": {
    "r": 187,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 273.708,
    "s": 60.544,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71189,
    "c": 0.1359,
    "h": 309.1
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#BB89E2
secondary
#E2EFD8
accent
#C81D68
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB89E2

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

Preview Lab → · Contrast checker → · Palette generator →

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