#BB51DB#BB51DB

#BB51DB is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.7% C 0.216 H 317.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BB51DB
RGBrgb(187, 81, 219)
HSLhsl(286, 66%, 59%)
HSVhsv(286, 63%, 86%)
CMYKcmyk(14.6%, 63%, 0%, 14.1%)
CIE-LABlab(53.56, 62.66, -52.07)
CIE-LCHlch(53.56, 81.47, 320.28°)
OKLaboklab(62.67% 0.1594 -0.1458)
OKLCHoklch(62.67% 0.216 317.6)
XYZxyz(36.2203, 21.5656, 69.2588)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51DB #71DB51
analogous
#7651DB #BB51DB #DB51B6
triadic
#BB51DB #DBBB51 #51DBBB
tetradic
#BB51DB #DB7651 #71DB51 #51B6DB
square
#BB51DB #DB7651 #71DB51 #51B6DB
split-complementary
#BB51DB #B6DB51 #51DB76
monochromatic
#781E93 #A129C6 #BB51DB #CF84E5 #E3B6F0

Accessibility & contrast

On white

3.95
#BB51DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#BB51DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51DB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51DB#FFFFFF#000000##000000
##BB51DB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2379DF
Deuteranopia (green-blind)
#5583D8
Tritanopia (blue-blind)
#BA698F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb51db;
/* rgb */ color: rgb(187, 81, 219);
/* oklch */ color: oklch(62.7% 0.216 317.6);
Tailwind
colors: {
  custom: {
    50: '#d388e7',
    500: '#bb51db',
    950: '#000000',
  },
}
SCSS
$custom: #bb51db;
$custom-light: #d388e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51db",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 286.087,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6267,
    "c": 0.21597,
    "h": 317.6
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#BB51DB
secondary
#B5DFA9
accent
#E93F66
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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