#BB56E9#BB56E9

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

Color values

HEX#BB56E9
RGBrgb(187, 86, 233)
HSLhsl(281, 77%, 63%)
HSVhsv(281, 63%, 91%)
CMYKcmyk(19.7%, 63.1%, 0%, 8.6%)
CIE-LABlab(55.18, 63.23, -57.37)
CIE-LCHlch(55.18, 85.38, 317.78°)
OKLaboklab(64.1% 0.1534 -0.1613)
OKLCHoklch(64.1% 0.223 313.6)
XYZxyz(38.5268, 23.1047, 79.5052)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56E9 #84E956
analogous
#7156E9 #BB56E9 #E956CE
triadic
#BB56E9 #E9BB56 #56E9BB
tetradic
#BB56E9 #E97156 #84E956 #56CEE9
square
#BB56E9 #E97156 #84E956 #56CEE9
split-complementary
#BB56E9 #CEE956 #56E971
monochromatic
#7F17AE #A520E2 #BB56E9 #D18CF0 #E7C2F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB56E9#FFFFFF#000000##000000
##BB56E91.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)
#137FED
Deuteranopia (green-blind)
#4E87E6
Tritanopia (blue-blind)
#B77298
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb56e9;
/* rgb */ color: rgb(187, 86, 233);
/* oklch */ color: oklch(64.1% 0.223 313.6);
Tailwind
colors: {
  custom: {
    50: '#d38cf1',
    500: '#bb56e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb56e9;
$custom-light: #d38cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56e9",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 281.224,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64098,
    "c": 0.22259,
    "h": 313.6
  },
  "luminance": 0.23104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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