#BB88EE#BB88EE

#BB88EE is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.6% C 0.152 H 306.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#BB88EE
RGBrgb(187, 136, 238)
HSLhsl(270, 75%, 73%)
HSVhsv(270, 43%, 93%)
CMYKcmyk(21.4%, 42.9%, 0%, 6.7%)
CIE-LABlab(65.24, 38.75, -44.20)
CIE-LCHlch(65.24, 58.78, 311.24°)
OKLaboklab(71.6% 0.0893 -0.1231)
OKLCHoklch(71.6% 0.152 306)
XYZxyz(44.7272, 34.3465, 85.1456)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB88EE #BBEE88
analogous
#8888EE #BB88EE #EE88EE
triadic
#BB88EE #EEBB88 #88EEBB
tetradic
#BB88EE #EE8888 #BBEE88 #88EEEE
square
#BB88EE #EE8888 #BBEE88 #88EEEE
split-complementary
#BB88EE #EEEE88 #88EE88
monochromatic
#7E1FDC #9C52E6 #BB88EE #DABEF6 #F0E4FB

Accessibility & contrast

On white

2.67
#BB88EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#BB88EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB88EE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB88EE#FFFFFF#000000##000000
##BB88EE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF2
Deuteranopia (green-blind)
#7B9FEB
Tritanopia (blue-blind)
#B399B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb88ee;
/* rgb */ color: rgb(187, 136, 238);
/* oklch */ color: oklch(71.6% 0.152 306.0);
Tailwind
colors: {
  custom: {
    50: '#d1abf4',
    500: '#bb88ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb88ee;
$custom-light: #d1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb88ee",
  "rgb": {
    "r": 187,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 270,
    "s": 75,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71604,
    "c": 0.15213,
    "h": 306
  },
  "luminance": 0.34346
}

Semantic roles & 50–950 ramp

primary
#BB88EE
secondary
#E6F3D8
accent
#D70E73
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB88EE

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

Preview Lab → · Contrast checker → · Palette generator →

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