#BB57E5#BB57E5

#BB57E5 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.0% C 0.217 H 314.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#BB57E5
RGBrgb(187, 87, 229)
HSLhsl(282, 73%, 62%)
HSVhsv(282, 62%, 90%)
CMYKcmyk(18.3%, 62%, 0%, 10.2%)
CIE-LABlab(55.11, 61.96, -55.23)
CIE-LCHlch(55.11, 83.00, 318.28°)
OKLaboklab(63.98% 0.1523 -0.1551)
OKLCHoklch(63.98% 0.217 314.5)
XYZxyz(38.0422, 23.0395, 76.5567)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57E5 #81E557
analogous
#7457E5 #BB57E5 #E557C8
triadic
#BB57E5 #E5BB57 #57E5BB
tetradic
#BB57E5 #E57457 #81E557 #57C8E5
square
#BB57E5 #E57457 #81E557 #57C8E5
split-complementary
#BB57E5 #C8E557 #57E574
monochromatic
#7E1AA8 #A522DD #BB57E5 #D08CED #E6C1F5

Accessibility & contrast

On white

3.74
#BB57E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#BB57E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57E5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57E5#FFFFFF#000000##000000
##BB57E51.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE9
Deuteranopia (green-blind)
#5387E2
Tritanopia (blue-blind)
#B87196
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb57e5;
/* rgb */ color: rgb(187, 87, 229);
/* oklch */ color: oklch(64.0% 0.217 314.5);
Tailwind
colors: {
  custom: {
    50: '#d38cee',
    500: '#bb57e5',
    950: '#000000',
  },
}
SCSS
$custom: #bb57e5;
$custom-light: #d38cee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57e5",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 282.254,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.21735,
    "h": 314.5
  },
  "luminance": 0.23038
}

Semantic roles & 50–950 ramp

primary
#BB57E5
secondary
#C1E6B2
accent
#D5104A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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