#BB57E9#BB57E9

#BB57E9 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.221 H 313.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BB57E9
RGBrgb(187, 87, 233)
HSLhsl(281, 77%, 63%)
HSVhsv(281, 63%, 91%)
CMYKcmyk(19.7%, 62.7%, 0%, 8.6%)
CIE-LABlab(55.34, 62.77, -57.11)
CIE-LCHlch(55.34, 84.86, 317.70°)
OKLaboklab(64.22% 0.1522 -0.1605)
OKLCHoklch(64.22% 0.221 313.5)
XYZxyz(38.6072, 23.2655, 79.5320)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57E9 #85E957
analogous
#7257E9 #BB57E9 #E957CE
triadic
#BB57E9 #E9BB57 #57E9BB
tetradic
#BB57E9 #E97257 #85E957 #57CEE9
square
#BB57E9 #E97257 #85E957 #57CEE9
split-complementary
#BB57E9 #CEE957 #57E972
monochromatic
#7F17AF #A521E2 #BB57E9 #D18DF0 #E7C3F7

Accessibility & contrast

On white

3.71
#BB57E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#BB57E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57E9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57E9#FFFFFF#000000##000000
##BB57E91.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#187FED
Deuteranopia (green-blind)
#4F87E6
Tritanopia (blue-blind)
#B77398
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb57e9;
/* rgb */ color: rgb(187, 87, 233);
/* oklch */ color: oklch(64.2% 0.221 313.5);
Tailwind
colors: {
  custom: {
    50: '#d38cf1',
    500: '#bb57e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb57e9;
$custom-light: #d38cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57e9",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 281.096,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64217,
    "c": 0.22124,
    "h": 313.5
  },
  "luminance": 0.23264
}

Semantic roles & 50–950 ramp

primary
#BB57E9
secondary
#C4E8B3
accent
#D90C4D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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