#BB56E5#BB56E5

#BB56E5 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.9% C 0.219 H 314.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BB56E5
RGBrgb(187, 86, 229)
HSLhsl(282, 73%, 62%)
HSVhsv(282, 62%, 90%)
CMYKcmyk(18.3%, 62.4%, 0%, 10.2%)
CIE-LABlab(54.95, 62.41, -55.50)
CIE-LCHlch(54.95, 83.52, 318.36°)
OKLaboklab(63.86% 0.1535 -0.1558)
OKLCHoklch(63.86% 0.219 314.6)
XYZxyz(37.9618, 22.8787, 76.5299)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56E5 #80E556
analogous
#7456E5 #BB56E5 #E556C7
triadic
#BB56E5 #E5BB56 #56E5BB
tetradic
#BB56E5 #E57456 #80E556 #56C7E5
square
#BB56E5 #E57456 #80E556 #56C7E5
split-complementary
#BB56E5 #C7E556 #56E574
monochromatic
#7D1AA7 #A522DC #BB56E5 #D08BED #E6C0F5

Accessibility & contrast

On white

3.77
#BB56E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#BB56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56E5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56E5#FFFFFF#000000##000000
##BB56E51.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7EE9
Deuteranopia (green-blind)
#5286E2
Tritanopia (blue-blind)
#B87096
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb56e5;
/* rgb */ color: rgb(187, 86, 229);
/* oklch */ color: oklch(63.9% 0.219 314.6);
Tailwind
colors: {
  custom: {
    50: '#d38bee',
    500: '#bb56e5',
    950: '#000000',
  },
}
SCSS
$custom: #bb56e5;
$custom-light: #d38bee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56e5",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 282.378,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63855,
    "c": 0.21871,
    "h": 314.6
  },
  "luminance": 0.22878
}

Semantic roles & 50–950 ramp

primary
#BB56E5
secondary
#C0E6B1
accent
#D5104A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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