#BB88EC#BB88EC

#BB88EC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.5% C 0.150 H 306.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#BB88EC
RGBrgb(187, 136, 236)
HSLhsl(271, 72%, 73%)
HSVhsv(271, 42%, 93%)
CMYKcmyk(20.8%, 42.4%, 0%, 7.5%)
CIE-LABlab(65.14, 38.30, -43.24)
CIE-LCHlch(65.14, 57.76, 311.53°)
OKLaboklab(71.5% 0.089 -0.1204)
OKLCHoklch(71.5% 0.15 306.5)
XYZxyz(44.4350, 34.2296, 83.6067)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB88EC #B9EC88
analogous
#8988EC #BB88EC #EC88EB
triadic
#BB88EC #ECBB88 #88ECBB
tetradic
#BB88EC #EC8988 #B9EC88 #88EBEC
square
#BB88EC #EC8988 #B9EC88 #88EBEC
split-complementary
#BB88EC #EBEC88 #88EC89
monochromatic
#7F22D7 #9D53E4 #BB88EC #D9BDF4 #F0E5FB

Accessibility & contrast

On white

2.68
#BB88EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#BB88EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB88EC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB88EC#FFFFFF#000000##000000
##BB88EC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CF0
Deuteranopia (green-blind)
#7C9FE9
Tritanopia (blue-blind)
#B498AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb88ec;
/* rgb */ color: rgb(187, 136, 236);
/* oklch */ color: oklch(71.5% 0.150 306.5);
Tailwind
colors: {
  custom: {
    50: '#d1abf2',
    500: '#bb88ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb88ec;
$custom-light: #d1abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb88ec",
  "rgb": {
    "r": 187,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 270.6,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71504,
    "c": 0.14969,
    "h": 306.5
  },
  "luminance": 0.34229
}

Semantic roles & 50–950 ramp

primary
#BB88EC
secondary
#E5F2D9
accent
#D51171
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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