#BB89F7#BB89F7

#BB89F7 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.2% C 0.162 H 303.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#BB89F7
RGBrgb(187, 137, 247)
HSLhsl(267, 87%, 75%)
HSVhsv(267, 45%, 97%)
CMYKcmyk(24.3%, 44.5%, 0%, 3.1%)
CIE-LABlab(65.88, 40.26, -48.13)
CIE-LCHlch(65.88, 62.75, 309.91°)
OKLaboklab(72.23% 0.0894 -0.1345)
OKLCHoklch(72.23% 0.162 303.6)
XYZxyz(46.2241, 35.1716, 92.3313)
Luminance0.3517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB89F7 #C5F789
analogous
#898EF7 #BB89F7 #F289F7
triadic
#BB89F7 #F7BB89 #89F7BB
tetradic
#BB89F7 #F7898E #C5F789 #89F7F2
square
#BB89F7 #F7898E #C5F789 #89F7F2
split-complementary
#BB89F7 #F7F289 #8EF789
monochromatic
#7916EF #9A50F3 #BB89F7 #DCC2FB #EEE2FD

Accessibility & contrast

On white

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

On black

8.03
#BB89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB89F7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB89F7#FFFFFF#000000##000000
##BB89F71.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#B19CB4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb89f7;
/* rgb */ color: rgb(187, 137, 247);
/* oklch */ color: oklch(72.2% 0.162 303.6);
Tailwind
colors: {
  custom: {
    50: '#d1acfa',
    500: '#bb89f7',
    950: '#000000',
  },
}
SCSS
$custom: #bb89f7;
$custom-light: #d1acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb89f7",
  "rgb": {
    "r": 187,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 267.273,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72227,
    "c": 0.16151,
    "h": 303.6
  },
  "luminance": 0.35172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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