#BB57E7#BB57E7

#BB57E7 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.1% C 0.219 H 314.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BB57E7
RGBrgb(187, 87, 231)
HSLhsl(282, 75%, 62%)
HSVhsv(282, 62%, 91%)
CMYKcmyk(19%, 62.3%, 0%, 9.4%)
CIE-LABlab(55.23, 62.36, -56.17)
CIE-LCHlch(55.23, 83.93, 317.99°)
OKLaboklab(64.1% 0.1523 -0.1578)
OKLCHoklch(64.1% 0.219 314)
XYZxyz(38.3231, 23.1519, 78.0358)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57E7 #83E757
analogous
#7357E7 #BB57E7 #E757CB
triadic
#BB57E7 #E7BB57 #57E7BB
tetradic
#BB57E7 #E77357 #83E757 #57CBE7
square
#BB57E7 #E77357 #83E757 #57CBE7
split-complementary
#BB57E7 #CBE757 #57E773
monochromatic
#7E18AB #A521DF #BB57E7 #D18DEF #E6C2F6

Accessibility & contrast

On white

3.73
#BB57E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#BB57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57E7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57E7#FFFFFF#000000##000000
##BB57E71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7FEB
Deuteranopia (green-blind)
#5187E4
Tritanopia (blue-blind)
#B77297
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb57e7;
/* rgb */ color: rgb(187, 87, 231);
/* oklch */ color: oklch(64.1% 0.219 314.0);
Tailwind
colors: {
  custom: {
    50: '#d38cef',
    500: '#bb57e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb57e7;
$custom-light: #d38cef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57e7",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 281.667,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64096,
    "c": 0.21929,
    "h": 314
  },
  "luminance": 0.23151
}

Semantic roles & 50–950 ramp

primary
#BB57E7
secondary
#C3E7B3
accent
#D70E4C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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