#BB88EB#BB88EB

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

Color values

HEX#BB88EB
RGBrgb(187, 136, 235)
HSLhsl(271, 71%, 73%)
HSVhsv(271, 42%, 92%)
CMYKcmyk(20.4%, 42.1%, 0%, 7.8%)
CIE-LABlab(65.10, 38.08, -42.76)
CIE-LCHlch(65.10, 57.25, 311.68°)
OKLaboklab(71.46% 0.0888 -0.119)
OKLCHoklch(71.46% 0.148 306.7)
XYZxyz(44.2901, 34.1716, 82.8437)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB88EB #B8EB88
analogous
#8988EB #BB88EB #EB88EA
triadic
#BB88EB #EBBB88 #88EBBB
tetradic
#BB88EB #EB8988 #B8EB88 #88EAEB
square
#BB88EB #EB8988 #B8EB88 #88EAEB
split-complementary
#BB88EB #EAEB88 #88EB89
monochromatic
#7F24D5 #9D54E2 #BB88EB #D9BCF4 #F0E5FB

Accessibility & contrast

On white

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

On black

7.83
#BB88EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB88EB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB88EB#FFFFFF#000000##000000
##BB88EB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#B498AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb88eb;
/* rgb */ color: rgb(187, 136, 235);
/* oklch */ color: oklch(71.5% 0.148 306.7);
Tailwind
colors: {
  custom: {
    50: '#d1abf2',
    500: '#bb88eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb88eb;
$custom-light: #d1abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb88eb",
  "rgb": {
    "r": 187,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 270.909,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71455,
    "c": 0.14847,
    "h": 306.7
  },
  "luminance": 0.34171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB88EB

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

Preview Lab → · Contrast checker → · Palette generator →

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