#BB57DB#BB57DB

#BB57DB is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.4% C 0.208 H 317.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BB57DB
RGBrgb(187, 87, 219)
HSLhsl(285, 65%, 60%)
HSVhsv(285, 60%, 86%)
CMYKcmyk(14.6%, 60.3%, 0%, 14.1%)
CIE-LABlab(54.55, 59.95, -50.49)
CIE-LCHlch(54.55, 78.38, 319.89°)
OKLaboklab(63.39% 0.1523 -0.1412)
OKLCHoklch(63.39% 0.208 317.2)
XYZxyz(36.6860, 22.4971, 69.4140)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57DB #77DB57
analogous
#7957DB #BB57DB #DB57B9
triadic
#BB57DB #DBBB57 #57DBBB
tetradic
#BB57DB #DB7957 #77DB57 #57B9DB
square
#BB57DB #DB7957 #77DB57 #57B9DB
split-complementary
#BB57DB #B9DB57 #57DB79
monochromatic
#7A2097 #A32BCA #BB57DB #CF89E6 #E4BCF1

Accessibility & contrast

On white

3.82
#BB57DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#BB57DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57DB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57DB#FFFFFF#000000##000000
##BB57DB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#5A86D8
Tritanopia (blue-blind)
#BA6D91
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb57db;
/* rgb */ color: rgb(187, 87, 219);
/* oklch */ color: oklch(63.4% 0.208 317.2);
Tailwind
colors: {
  custom: {
    50: '#d38ce7',
    500: '#bb57db',
    950: '#000000',
  },
}
SCSS
$custom: #bb57db;
$custom-light: #d38ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57db",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 285.455,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.63386,
    "c": 0.20766,
    "h": 317.2
  },
  "luminance": 0.22496
}

Semantic roles & 50–950 ramp

primary
#BB57DB
secondary
#BAE0AD
accent
#E84069
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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