#BB56E2#BB56E2

#BB56E2 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.7% C 0.216 H 315.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BB56E2
RGBrgb(187, 86, 226)
HSLhsl(283, 71%, 61%)
HSVhsv(283, 62%, 89%)
CMYKcmyk(17.3%, 61.9%, 0%, 11.4%)
CIE-LABlab(54.78, 61.81, -54.09)
CIE-LCHlch(54.78, 82.13, 318.81°)
OKLaboklab(63.68% 0.1535 -0.1517)
OKLCHoklch(63.68% 0.216 315.3)
XYZxyz(37.5466, 22.7126, 74.3429)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56E2 #7DE256
analogous
#7556E2 #BB56E2 #E256C3
triadic
#BB56E2 #E2BB56 #56E2BB
tetradic
#BB56E2 #E27556 #7DE256 #56C3E2
square
#BB56E2 #E27556 #7DE256 #56C3E2
split-complementary
#BB56E2 #C3E256 #56E275
monochromatic
#7C1CA2 #A525D6 #BB56E2 #D08AEB #E5BEF4

Accessibility & contrast

On white

3.79
#BB56E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BB56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56E2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56E2#FFFFFF#000000##000000
##BB56E21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#247DE6
Deuteranopia (green-blind)
#5486DF
Tritanopia (blue-blind)
#B86F94
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb56e2;
/* rgb */ color: rgb(187, 86, 226);
/* oklch */ color: oklch(63.7% 0.216 315.3);
Tailwind
colors: {
  custom: {
    50: '#d38bec',
    500: '#bb56e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb56e2;
$custom-light: #d38bec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56e2",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 283.286,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63675,
    "c": 0.21581,
    "h": 315.3
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#BB56E2
secondary
#BEE4B0
accent
#D31348
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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