#BB57EA#BB57EA

#BB57EA is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.222 H 313.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#BB57EA
RGBrgb(187, 87, 234)
HSLhsl(281, 78%, 63%)
HSVhsv(281, 63%, 92%)
CMYKcmyk(20.1%, 62.8%, 0%, 8.2%)
CIE-LABlab(55.40, 62.98, -57.58)
CIE-LCHlch(55.40, 85.33, 317.57°)
OKLaboklab(64.28% 0.1522 -0.1619)
OKLCHoklch(64.28% 0.222 313.2)
XYZxyz(38.7504, 23.3228, 80.2864)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57EA #86EA57
analogous
#7157EA #BB57EA #EA57D0
triadic
#BB57EA #EABB57 #57EABB
tetradic
#BB57EA #EA7157 #86EA57 #57D0EA
square
#BB57EA #EA7157 #86EA57 #57D0EA
split-complementary
#BB57EA #D0EA57 #57EA71
monochromatic
#7F16B1 #A521E3 #BB57EA #D18DF1 #E7C4F8

Accessibility & contrast

On white

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

On black

5.66
#BB57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57EA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57EA#FFFFFF#000000##000000
##BB57EA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#157FEE
Deuteranopia (green-blind)
#4E87E7
Tritanopia (blue-blind)
#B67399
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb57ea;
/* rgb */ color: rgb(187, 87, 234);
/* oklch */ color: oklch(64.3% 0.222 313.2);
Tailwind
colors: {
  custom: {
    50: '#d38cf1',
    500: '#bb57ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb57ea;
$custom-light: #d38cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57ea",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 280.816,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64278,
    "c": 0.22222,
    "h": 313.2
  },
  "luminance": 0.23322
}

Semantic roles & 50–950 ramp

primary
#BB57EA
secondary
#C5E9B4
accent
#DA0B4E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #BB57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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