#BB88DC#BB88DC

#BB88DC is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.7% C 0.130 H 311.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#BB88DC
RGBrgb(187, 136, 220)
HSLhsl(276, 55%, 70%)
HSVhsv(276, 38%, 86%)
CMYKcmyk(15%, 38.2%, 0%, 13.7%)
CIE-LABlab(64.44, 34.78, -35.49)
CIE-LCHlch(64.44, 49.68, 314.42°)
OKLaboklab(70.74% 0.086 -0.098)
OKLCHoklch(70.74% 0.13 311.3)
XYZxyz(42.2137, 33.3411, 71.9079)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB88DC #A9DC88
analogous
#9188DC #BB88DC #DC88D3
triadic
#BB88DC #DCBB88 #88DCBB
tetradic
#BB88DC #DC9188 #A9DC88 #88D3DC
square
#BB88DC #DC9188 #A9DC88 #88D3DC
split-complementary
#BB88DC #D3DC88 #88DC91
monochromatic
#8235B5 #A059CE #BB88DC #D6B7EA #F1E7F8

Accessibility & contrast

On white

2.74
#BB88DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#BB88DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB88DC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB88DC#FFFFFF#000000##000000
##BB88DC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#789ADF
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#B894A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb88dc;
/* rgb */ color: rgb(187, 136, 220);
/* oklch */ color: oklch(70.7% 0.130 311.3);
Tailwind
colors: {
  custom: {
    50: '#d0abe7',
    500: '#bb88dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb88dc;
$custom-light: #d0abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb88dc",
  "rgb": {
    "r": 187,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 276.429,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70738,
    "c": 0.13037,
    "h": 311.3
  },
  "luminance": 0.3334
}

Semantic roles & 50–950 ramp

primary
#BB88DC
secondary
#DDECD4
accent
#C22362
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB88DC

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

Preview Lab → · Contrast checker → · Palette generator →

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