#BB57E6#BB57E6

#BB57E6 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.0% C 0.218 H 314.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BB57E6
RGBrgb(187, 87, 230)
HSLhsl(282, 74%, 62%)
HSVhsv(282, 62%, 90%)
CMYKcmyk(18.7%, 62.2%, 0%, 9.8%)
CIE-LABlab(55.17, 62.16, -55.70)
CIE-LCHlch(55.17, 83.47, 318.14°)
OKLaboklab(64.04% 0.1523 -0.1564)
OKLCHoklch(64.04% 0.218 314.2)
XYZxyz(38.1823, 23.0955, 77.2941)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57E6 #82E657
analogous
#7457E6 #BB57E6 #E657CA
triadic
#BB57E6 #E6BB57 #57E6BB
tetradic
#BB57E6 #E67457 #82E657 #57CAE6
square
#BB57E6 #E67457 #82E657 #57CAE6
split-complementary
#BB57E6 #CAE657 #57E674
monochromatic
#7E19A9 #A522DE #BB57E6 #D18CEE #E6C2F6

Accessibility & contrast

On white

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

On black

5.62
#BB57E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57E6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57E6#FFFFFF#000000##000000
##BB57E61.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7EEA
Deuteranopia (green-blind)
#5287E3
Tritanopia (blue-blind)
#B77197
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb57e6;
/* rgb */ color: rgb(187, 87, 230);
/* oklch */ color: oklch(64.0% 0.218 314.2);
Tailwind
colors: {
  custom: {
    50: '#d38cee',
    500: '#bb57e6',
    950: '#000000',
  },
}
SCSS
$custom: #bb57e6;
$custom-light: #d38cee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57e6",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 281.958,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64035,
    "c": 0.21832,
    "h": 314.2
  },
  "luminance": 0.23094
}

Semantic roles & 50–950 ramp

primary
#BB57E6
secondary
#C2E7B2
accent
#D60F4B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB57E6

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

Preview Lab → · Contrast checker → · Palette generator →

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