#BB56E7#BB56E7

#BB56E7 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.0% C 0.221 H 314.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BB56E7
RGBrgb(187, 86, 231)
HSLhsl(282, 75%, 62%)
HSVhsv(282, 63%, 91%)
CMYKcmyk(19%, 62.8%, 0%, 9.4%)
CIE-LABlab(55.06, 62.82, -56.44)
CIE-LCHlch(55.06, 84.45, 318.06°)
OKLaboklab(63.98% 0.1534 -0.1586)
OKLCHoklch(63.98% 0.221 314.1)
XYZxyz(38.2427, 22.9911, 78.0090)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56E7 #82E756
analogous
#7256E7 #BB56E7 #E756CB
triadic
#BB56E7 #E7BB56 #56E7BB
tetradic
#BB56E7 #E77256 #82E756 #56CBE7
square
#BB56E7 #E77256 #82E756 #56CBE7
split-complementary
#BB56E7 #CBE756 #56E772
monochromatic
#7E18AA #A520DF #BB56E7 #D18CEF #E6C1F6

Accessibility & contrast

On white

3.75
#BB56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#BB56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56E7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56E7#FFFFFF#000000##000000
##BB56E71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEB
Deuteranopia (green-blind)
#5086E4
Tritanopia (blue-blind)
#B77197
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb56e7;
/* rgb */ color: rgb(187, 86, 231);
/* oklch */ color: oklch(64.0% 0.221 314.1);
Tailwind
colors: {
  custom: {
    50: '#d38cef',
    500: '#bb56e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb56e7;
$custom-light: #d38cef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56e7",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 281.793,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.22065,
    "h": 314.1
  },
  "luminance": 0.2299
}

Semantic roles & 50–950 ramp

primary
#BB56E7
secondary
#C2E7B2
accent
#D70E4B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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