#BB56E6#BB56E6

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

Color values

HEX#BB56E6
RGBrgb(187, 86, 230)
HSLhsl(282, 74%, 62%)
HSVhsv(282, 63%, 90%)
CMYKcmyk(18.7%, 62.6%, 0%, 9.8%)
CIE-LABlab(55.01, 62.62, -55.97)
CIE-LCHlch(55.01, 83.98, 318.21°)
OKLaboklab(63.92% 0.1534 -0.1572)
OKLCHoklch(63.92% 0.22 314.3)
XYZxyz(38.1019, 22.9347, 77.2673)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56E6 #81E656
analogous
#7356E6 #BB56E6 #E656C9
triadic
#BB56E6 #E6BB56 #56E6BB
tetradic
#BB56E6 #E67356 #81E656 #56C9E6
square
#BB56E6 #E67356 #81E656 #56C9E6
split-complementary
#BB56E6 #C9E656 #56E673
monochromatic
#7E19A9 #A521DE #BB56E6 #D08BEE #E6C1F6

Accessibility & contrast

On white

3.76
#BB56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#BB56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56E6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56E6#FFFFFF#000000##000000
##BB56E61.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7EEA
Deuteranopia (green-blind)
#5186E3
Tritanopia (blue-blind)
#B77196
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb56e6;
/* rgb */ color: rgb(187, 86, 230);
/* oklch */ color: oklch(63.9% 0.220 314.3);
Tailwind
colors: {
  custom: {
    50: '#d38bef',
    500: '#bb56e6',
    950: '#000000',
  },
}
SCSS
$custom: #bb56e6;
$custom-light: #d38bef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56e6",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 282.083,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63915,
    "c": 0.21968,
    "h": 314.3
  },
  "luminance": 0.22934
}

Semantic roles & 50–950 ramp

primary
#BB56E6
secondary
#C1E6B1
accent
#D60F4B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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