#BB56EA#BB56EA

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

Color values

HEX#BB56EA
RGBrgb(187, 86, 234)
HSLhsl(281, 78%, 63%)
HSVhsv(281, 63%, 92%)
CMYKcmyk(20.1%, 63.2%, 0%, 8.2%)
CIE-LABlab(55.24, 63.43, -57.84)
CIE-LCHlch(55.24, 85.84, 317.64°)
OKLaboklab(64.16% 0.1533 -0.1627)
OKLCHoklch(64.16% 0.224 313.3)
XYZxyz(38.6700, 23.1620, 80.2596)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56EA #85EA56
analogous
#7156EA #BB56EA #EA56CF
triadic
#BB56EA #EABB56 #56EABB
tetradic
#BB56EA #EA7156 #85EA56 #56CFEA
square
#BB56EA #EA7156 #85EA56 #56CFEA
split-complementary
#BB56EA #CFEA56 #56EA71
monochromatic
#7F16B0 #A520E3 #BB56EA #D18CF1 #E7C3F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB56EA#FFFFFF#000000##000000
##BB56EA1.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)
#107FEF
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#B67299
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb56ea;
/* rgb */ color: rgb(187, 86, 234);
/* oklch */ color: oklch(64.2% 0.224 313.3);
Tailwind
colors: {
  custom: {
    50: '#d38cf1',
    500: '#bb56ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb56ea;
$custom-light: #d38cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56ea",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 280.946,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64159,
    "c": 0.22356,
    "h": 313.3
  },
  "luminance": 0.23161
}

Semantic roles & 50–950 ramp

primary
#BB56EA
secondary
#C4E9B3
accent
#DA0B4D
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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