#BB51DD#BB51DD

#BB51DD is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.8% C 0.218 H 317.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BB51DD
RGBrgb(187, 81, 221)
HSLhsl(285, 67%, 59%)
HSVhsv(285, 63%, 87%)
CMYKcmyk(15.4%, 63.3%, 0%, 13.3%)
CIE-LABlab(53.68, 63.05, -53.02)
CIE-LCHlch(53.68, 82.38, 319.94°)
OKLaboklab(62.79% 0.1594 -0.1485)
OKLCHoklch(62.79% 0.218 317)
XYZxyz(36.4852, 21.6715, 70.6537)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51DD #73DD51
analogous
#7551DD #BB51DD #DD51B9
triadic
#BB51DD #DDBB51 #51DDBB
tetradic
#BB51DD #DD7551 #73DD51 #51B9DD
square
#BB51DD #DD7551 #73DD51 #51B9DD
split-complementary
#BB51DD #B9DD51 #51DD75
monochromatic
#791D96 #A227C9 #BB51DD #CF84E7 #E3B7F1

Accessibility & contrast

On white

3.94
#BB51DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#BB51DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51DD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51DD#FFFFFF#000000##000000
##BB51DD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#207AE1
Deuteranopia (green-blind)
#5483DA
Tritanopia (blue-blind)
#BA6A90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb51dd;
/* rgb */ color: rgb(187, 81, 221);
/* oklch */ color: oklch(62.8% 0.218 317.0);
Tailwind
colors: {
  custom: {
    50: '#d388e8',
    500: '#bb51dd',
    950: '#000000',
  },
}
SCSS
$custom: #bb51dd;
$custom-light: #d388e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51dd",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 285.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.21785,
    "h": 317
  },
  "luminance": 0.2167
}

Semantic roles & 50–950 ramp

primary
#BB51DD
secondary
#B7E0AA
accent
#EA3E68
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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