#BB56E1#BB56E1

#BB56E1 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.6% C 0.215 H 315.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BB56E1
RGBrgb(187, 86, 225)
HSLhsl(284, 70%, 61%)
HSVhsv(284, 62%, 88%)
CMYKcmyk(16.9%, 61.8%, 0%, 11.8%)
CIE-LABlab(54.72, 61.61, -53.61)
CIE-LCHlch(54.72, 81.67, 318.97°)
OKLaboklab(63.62% 0.1535 -0.1503)
OKLCHoklch(63.62% 0.215 315.6)
XYZxyz(37.4098, 22.6579, 73.6224)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56E1 #7CE156
analogous
#7556E1 #BB56E1 #E156C1
triadic
#BB56E1 #E1BB56 #56E1BB
tetradic
#BB56E1 #E17556 #7CE156 #56C1E1
square
#BB56E1 #E17556 #7CE156 #56C1E1
split-complementary
#BB56E1 #C1E156 #56E175
monochromatic
#7C1CA0 #A426D4 #BB56E1 #D08AEA #E5BEF3

Accessibility & contrast

On white

3.80
#BB56E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#BB56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56E1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56E1#FFFFFF#000000##000000
##BB56E11.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#267DE5
Deuteranopia (green-blind)
#5586DE
Tritanopia (blue-blind)
#B86F94
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb56e1;
/* rgb */ color: rgb(187, 86, 225);
/* oklch */ color: oklch(63.6% 0.215 315.6);
Tailwind
colors: {
  custom: {
    50: '#d38beb',
    500: '#bb56e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb56e1;
$custom-light: #d38beb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56e1",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 283.597,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63616,
    "c": 0.21485,
    "h": 315.6
  },
  "luminance": 0.22657
}

Semantic roles & 50–950 ramp

primary
#BB56E1
secondary
#BEE4AF
accent
#D21448
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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