#BB56EC#BB56EC

#BB56EC is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.3% C 0.226 H 312.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#BB56EC
RGBrgb(187, 86, 236)
HSLhsl(280, 80%, 63%)
HSVhsv(280, 64%, 93%)
CMYKcmyk(20.8%, 63.6%, 0%, 7.5%)
CIE-LABlab(55.36, 63.84, -58.77)
CIE-LCHlch(55.36, 86.77, 317.37°)
OKLaboklab(64.28% 0.1533 -0.1654)
OKLCHoklch(64.28% 0.226 312.8)
XYZxyz(38.9590, 23.2776, 81.7814)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56EC #87EC56
analogous
#7056EC #BB56EC #EC56D2
triadic
#BB56EC #ECBB56 #56ECBB
tetradic
#BB56EC #EC7056 #87EC56 #56D2EC
square
#BB56EC #EC7056 #87EC56 #56D2EC
split-complementary
#BB56EC #D2EC56 #56EC70
monochromatic
#7F14B3 #A51FE6 #BB56EC #D18DF2 #E7C4F8

Accessibility & contrast

On white

3.71
#BB56EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#BB56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56EC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56EC#FFFFFF#000000##000000
##BB56EC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#067FF1
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#B6739A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb56ec;
/* rgb */ color: rgb(187, 86, 236);
/* oklch */ color: oklch(64.3% 0.226 312.8);
Tailwind
colors: {
  custom: {
    50: '#d38cf3',
    500: '#bb56ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb56ec;
$custom-light: #d38cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56ec",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 280.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64283,
    "c": 0.2255,
    "h": 312.8
  },
  "luminance": 0.23277
}

Semantic roles & 50–950 ramp

primary
#BB56EC
secondary
#C6EAB4
accent
#DC094E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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