#BB56EE#BB56EE

#BB56EE is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.4% C 0.227 H 312.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BB56EE
RGBrgb(187, 86, 238)
HSLhsl(280, 82%, 64%)
HSVhsv(280, 64%, 93%)
CMYKcmyk(21.4%, 63.9%, 0%, 6.7%)
CIE-LABlab(55.48, 64.25, -59.70)
CIE-LCHlch(55.48, 87.71, 317.10°)
OKLaboklab(64.41% 0.1532 -0.1681)
OKLCHoklch(64.41% 0.227 312.3)
XYZxyz(39.2512, 23.3945, 83.3203)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56EE #89EE56
analogous
#6F56EE #BB56EE #EE56D5
triadic
#BB56EE #EEBB56 #56EEBB
tetradic
#BB56EE #EE6F56 #89EE56 #56D5EE
square
#BB56EE #EE6F56 #89EE56 #56D5EE
split-complementary
#BB56EE #D5EE56 #56EE6F
monochromatic
#8012B7 #A51EE8 #BB56EE #D18EF4 #E8C5F9

Accessibility & contrast

On white

3.70
#BB56EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#BB56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56EE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56EE#FFFFFF#000000##000000
##BB56EE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#4A87EA
Tritanopia (blue-blind)
#B5749B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb56ee;
/* rgb */ color: rgb(187, 86, 238);
/* oklch */ color: oklch(64.4% 0.227 312.3);
Tailwind
colors: {
  custom: {
    50: '#d38cf4',
    500: '#bb56ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb56ee;
$custom-light: #d38cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56ee",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 279.868,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64407,
    "c": 0.22745,
    "h": 312.3
  },
  "luminance": 0.23393
}

Semantic roles & 50–950 ramp

primary
#BB56EE
secondary
#C7EBB5
accent
#DE074F
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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