#BB56E4#BB56E4

#BB56E4 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.8% C 0.218 H 314.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BB56E4
RGBrgb(187, 86, 228)
HSLhsl(283, 72%, 62%)
HSVhsv(283, 62%, 89%)
CMYKcmyk(18%, 62.3%, 0%, 10.6%)
CIE-LABlab(54.89, 62.21, -55.03)
CIE-LCHlch(54.89, 83.06, 318.50°)
OKLaboklab(63.8% 0.1535 -0.1545)
OKLCHoklch(63.8% 0.218 314.8)
XYZxyz(37.8226, 22.8230, 75.7967)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56E4 #7FE456
analogous
#7456E4 #BB56E4 #E456C6
triadic
#BB56E4 #E4BB56 #56E4BB
tetradic
#BB56E4 #E47456 #7FE456 #56C6E4
square
#BB56E4 #E47456 #7FE456 #56C6E4
split-complementary
#BB56E4 #C6E456 #56E474
monochromatic
#7D1AA5 #A523DA #BB56E4 #D08BEC #E5C0F5

Accessibility & contrast

On white

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

On black

5.56
#BB56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56E4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56E4#FFFFFF#000000##000000
##BB56E41.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#207EE8
Deuteranopia (green-blind)
#5386E1
Tritanopia (blue-blind)
#B87095
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb56e4;
/* rgb */ color: rgb(187, 86, 228);
/* oklch */ color: oklch(63.8% 0.218 314.8);
Tailwind
colors: {
  custom: {
    50: '#d38bed',
    500: '#bb56e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb56e4;
$custom-light: #d38bed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56e4",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 282.676,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63795,
    "c": 0.21775,
    "h": 314.8
  },
  "luminance": 0.22822
}

Semantic roles & 50–950 ramp

primary
#BB56E4
secondary
#C0E5B0
accent
#D51149
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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