#BB88EF#BB88EF

#BB88EF is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.7% C 0.153 H 305.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#BB88EF
RGBrgb(187, 136, 239)
HSLhsl(270, 76%, 74%)
HSVhsv(270, 43%, 94%)
CMYKcmyk(21.8%, 43.1%, 0%, 6.3%)
CIE-LABlab(65.28, 38.98, -44.67)
CIE-LCHlch(65.28, 59.29, 311.10°)
OKLaboklab(71.65% 0.0895 -0.1245)
OKLCHoklch(71.65% 0.153 305.7)
XYZxyz(44.8745, 34.4054, 85.9215)
Luminance0.3441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB88EF #BCEF88
analogous
#8888EF #BB88EF #EE88EF
triadic
#BB88EF #EFBB88 #88EFBB
tetradic
#BB88EF #EF8888 #BCEF88 #88EFEE
square
#BB88EF #EF8888 #BCEF88 #88EFEE
split-complementary
#BB88EF #EFEE88 #88EF88
monochromatic
#7D1EDF #9C52E8 #BB88EF #DABEF6 #F0E4FB

Accessibility & contrast

On white

2.66
#BB88EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#BB88EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB88EF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB88EF#FFFFFF#000000##000000
##BB88EF1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb88ef;
/* rgb */ color: rgb(187, 136, 239);
/* oklch */ color: oklch(71.7% 0.153 305.7);
Tailwind
colors: {
  custom: {
    50: '#d1abf4',
    500: '#bb88ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb88ef;
$custom-light: #d1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb88ef",
  "rgb": {
    "r": 187,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 269.709,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71654,
    "c": 0.15335,
    "h": 305.7
  },
  "luminance": 0.34405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB88EF

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

Preview Lab → · Contrast checker → · Palette generator →

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