#BB57E8#BB57E8

#BB57E8 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.2% C 0.220 H 313.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BB57E8
RGBrgb(187, 87, 232)
HSLhsl(281, 76%, 63%)
HSVhsv(281, 63%, 91%)
CMYKcmyk(19.4%, 62.5%, 0%, 9%)
CIE-LABlab(55.29, 62.57, -56.64)
CIE-LCHlch(55.29, 84.40, 317.85°)
OKLaboklab(64.16% 0.1523 -0.1592)
OKLCHoklch(64.16% 0.22 313.7)
XYZxyz(38.4647, 23.2085, 78.7818)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57E8 #84E857
analogous
#7257E8 #BB57E8 #E857CD
triadic
#BB57E8 #E8BB57 #57E8BB
tetradic
#BB57E8 #E87257 #84E857 #57CDE8
square
#BB57E8 #E87257 #84E857 #57CDE8
split-complementary
#BB57E8 #CDE857 #57E872
monochromatic
#7F18AD #A521E1 #BB57E8 #D18DEF #E7C3F7

Accessibility & contrast

On white

3.72
#BB57E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#BB57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57E8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57E8#FFFFFF#000000##000000
##BB57E81.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7FEC
Deuteranopia (green-blind)
#5087E5
Tritanopia (blue-blind)
#B77298
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb57e8;
/* rgb */ color: rgb(187, 87, 232);
/* oklch */ color: oklch(64.2% 0.220 313.7);
Tailwind
colors: {
  custom: {
    50: '#d38cf0',
    500: '#bb57e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb57e8;
$custom-light: #d38cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57e8",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 281.379,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64156,
    "c": 0.22027,
    "h": 313.7
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#BB57E8
secondary
#C3E8B3
accent
#D80D4C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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