#BB56E8#BB56E8

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

Color values

HEX#BB56E8
RGBrgb(187, 86, 232)
HSLhsl(282, 76%, 62%)
HSVhsv(282, 63%, 91%)
CMYKcmyk(19.4%, 62.9%, 0%, 9%)
CIE-LABlab(55.12, 63.02, -56.91)
CIE-LCHlch(55.12, 84.91, 317.92°)
OKLaboklab(64.04% 0.1534 -0.1599)
OKLCHoklch(64.04% 0.222 313.8)
XYZxyz(38.3843, 23.0477, 78.7550)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56E8 #83E856
analogous
#7256E8 #BB56E8 #E856CC
triadic
#BB56E8 #E8BB56 #56E8BB
tetradic
#BB56E8 #E87256 #83E856 #56CCE8
square
#BB56E8 #E87256 #83E856 #56CCE8
split-complementary
#BB56E8 #CCE856 #56E872
monochromatic
#7E17AC #A520E1 #BB56E8 #D18CEF #E6C2F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB56E8#FFFFFF#000000##000000
##BB56E81.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)
#177EEC
Deuteranopia (green-blind)
#4F86E5
Tritanopia (blue-blind)
#B77298
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb56e8;
/* rgb */ color: rgb(187, 86, 232);
/* oklch */ color: oklch(64.0% 0.222 313.8);
Tailwind
colors: {
  custom: {
    50: '#d38cf0',
    500: '#bb56e8',
    950: '#000000',
  },
}
SCSS
$custom: #bb56e8;
$custom-light: #d38cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56e8",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 281.507,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64037,
    "c": 0.22162,
    "h": 313.8
  },
  "luminance": 0.23047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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