#BB56EF#BB56EF

#BB56EF is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.5% C 0.228 H 312.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#BB56EF
RGBrgb(187, 86, 239)
HSLhsl(280, 83%, 64%)
HSVhsv(280, 64%, 94%)
CMYKcmyk(21.8%, 64%, 0%, 6.3%)
CIE-LABlab(55.54, 64.46, -60.16)
CIE-LCHlch(55.54, 88.17, 316.98°)
OKLaboklab(64.47% 0.1531 -0.1695)
OKLCHoklch(64.47% 0.228 312.1)
XYZxyz(39.3985, 23.4534, 84.0961)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56EF #8AEF56
analogous
#6E56EF #BB56EF #EF56D6
triadic
#BB56EF #EFBB56 #56EFBB
tetradic
#BB56EF #EF6E56 #8AEF56 #56D6EF
square
#BB56EF #EF6E56 #8AEF56 #56D6EF
split-complementary
#BB56EF #D6EF56 #56EF6E
monochromatic
#8012B9 #A51EEA #BB56EF #D18EF4 #E8C6FA

Accessibility & contrast

On white

3.69
#BB56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#BB56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56EF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56EF#FFFFFF#000000##000000
##BB56EF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#B5749B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb56ef;
/* rgb */ color: rgb(187, 86, 239);
/* oklch */ color: oklch(64.5% 0.228 312.1);
Tailwind
colors: {
  custom: {
    50: '#d38cf5',
    500: '#bb56ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb56ef;
$custom-light: #d38cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56ef",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 279.608,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64469,
    "c": 0.22842,
    "h": 312.1
  },
  "luminance": 0.23452
}

Semantic roles & 50–950 ramp

primary
#BB56EF
secondary
#C8EBB5
accent
#DF0650
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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