#BB89F8#BB89F8

#BB89F8 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.163 H 303.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#BB89F8
RGBrgb(187, 137, 248)
HSLhsl(267, 89%, 75%)
HSVhsv(267, 45%, 97%)
CMYKcmyk(24.6%, 44.8%, 0%, 2.7%)
CIE-LABlab(65.93, 40.49, -48.60)
CIE-LCHlch(65.93, 63.26, 309.80°)
OKLaboklab(72.28% 0.0895 -0.1359)
OKLCHoklch(72.28% 0.163 303.4)
XYZxyz(46.3788, 35.2335, 93.1461)
Luminance0.3523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB89F8 #C6F889
analogous
#898EF8 #BB89F8 #F289F8
triadic
#BB89F8 #F8BB89 #89F8BB
tetradic
#BB89F8 #F8898E #C6F889 #89F8F2
square
#BB89F8 #F8898E #C6F889 #89F8F2
split-complementary
#BB89F8 #F8F289 #8EF889
monochromatic
#7815F1 #9A4FF5 #BB89F8 #DCC3FB #EEE2FD

Accessibility & contrast

On white

2.61
#BB89F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#BB89F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB89F8
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB89F8#FFFFFF#000000##000000
##BB89F81.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#B09CB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb89f8;
/* rgb */ color: rgb(187, 137, 248);
/* oklch */ color: oklch(72.3% 0.163 303.4);
Tailwind
colors: {
  custom: {
    50: '#d2acfb',
    500: '#bb89f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb89f8;
$custom-light: #d2acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb89f8",
  "rgb": {
    "r": 187,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 267.027,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72279,
    "c": 0.16273,
    "h": 303.4
  },
  "luminance": 0.35233
}

Semantic roles & 50–950 ramp

primary
#BB89F8
secondary
#E7F5D6
accent
#E5007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB89F8

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

Preview Lab → · Contrast checker → · Palette generator →

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