#BB89FE#BB89FE

#BB89FE is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.6% C 0.170 H 302.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#BB89FE
RGBrgb(187, 137, 254)
HSLhsl(266, 98%, 77%)
HSVhsv(266, 46%, 100%)
CMYKcmyk(26.4%, 46.1%, 0%, 0.4%)
CIE-LABlab(66.22, 41.89, -51.42)
CIE-LCHlch(66.22, 66.33, 309.17°)
OKLaboklab(72.59% 0.0903 -0.1441)
OKLCHoklch(72.59% 0.17 302.1)
XYZxyz(47.3246, 35.6118, 98.1273)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB89FE #CCFE89
analogous
#8992FE #BB89FE #F589FE
triadic
#BB89FE #FEBB89 #89FEBB
tetradic
#BB89FE #FE8992 #CCFE89 #89FEF5
square
#BB89FE #FE8992 #CCFE89 #89FEF5
split-complementary
#BB89FE #FEF589 #92FE89
monochromatic
#7510FD #984CFD #BB89FE #DEC6FF #EEE1FF

Accessibility & contrast

On white

2.59
#BB89FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#BB89FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB89FE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB89FE#FFFFFF#000000##000000
##BB89FE1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#73A1FB
Tritanopia (blue-blind)
#AF9EB8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb89fe;
/* rgb */ color: rgb(187, 137, 254);
/* oklch */ color: oklch(72.6% 0.170 302.1);
Tailwind
colors: {
  custom: {
    50: '#d2acff',
    500: '#bb89fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb89fe;
$custom-light: #d2acff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb89fe",
  "rgb": {
    "r": 187,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 265.641,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72593,
    "c": 0.17008,
    "h": 302.1
  },
  "luminance": 0.35612
}

Semantic roles & 50–950 ramp

primary
#BB89FE
secondary
#E8F7D4
accent
#E60083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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