#BB57D8#BB57D8

#BB57D8 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.2% C 0.205 H 318.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BB57D8
RGBrgb(187, 87, 216)
HSLhsl(287, 62%, 59%)
HSVhsv(287, 60%, 85%)
CMYKcmyk(13.4%, 59.7%, 0%, 15.3%)
CIE-LABlab(54.39, 59.36, -49.05)
CIE-LCHlch(54.39, 77.00, 320.43°)
OKLaboklab(63.21% 0.1522 -0.137)
OKLCHoklch(63.21% 0.205 318)
XYZxyz(36.2947, 22.3405, 67.3527)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57D8 #74D857
analogous
#7B57D8 #BB57D8 #D857B4
triadic
#BB57D8 #D8BB57 #57D8BB
tetradic
#BB57D8 #D87B57 #74D857 #57B4D8
square
#BB57D8 #D87B57 #74D857 #57B4D8
split-complementary
#BB57D8 #B4D857 #57D87B
monochromatic
#792293 #A22EC4 #BB57D8 #CF89E4 #E3BAEF

Accessibility & contrast

On white

3.84
#BB57D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#BB57D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57D8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57D8#FFFFFF#000000##000000
##BB57D81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357CDC
Deuteranopia (green-blind)
#5C85D5
Tritanopia (blue-blind)
#BA6C90
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb57d8;
/* rgb */ color: rgb(187, 87, 216);
/* oklch */ color: oklch(63.2% 0.205 318.0);
Tailwind
colors: {
  custom: {
    50: '#d28ce4',
    500: '#bb57d8',
    950: '#000000',
  },
}
SCSS
$custom: #bb57d8;
$custom-light: #d28ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57d8",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 286.512,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.20478,
    "h": 318
  },
  "luminance": 0.22339
}

Semantic roles & 50–950 ramp

primary
#BB57D8
secondary
#B8DFAC
accent
#E54267
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB57D8

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

Preview Lab → · Contrast checker → · Palette generator →

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