#BB5AED#BB5AED

#BB5AED is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.8% C 0.221 H 312.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BB5AED
RGBrgb(187, 90, 237)
HSLhsl(280, 80%, 64%)
HSVhsv(280, 62%, 93%)
CMYKcmyk(21.1%, 62%, 0%, 7.1%)
CIE-LABlab(56.08, 62.22, -58.17)
CIE-LCHlch(56.08, 85.18, 316.93°)
OKLaboklab(64.82% 0.1487 -0.1637)
OKLCHoklch(64.82% 0.221 312.2)
XYZxyz(39.4330, 23.9926, 82.6581)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AED #8CED5A
analogous
#725AED #BB5AED #ED5AD6
triadic
#BB5AED #EDBB5A #5AEDBB
tetradic
#BB5AED #ED725A #8CED5A #5AD6ED
square
#BB5AED #ED725A #8CED5A #5AD6ED
split-complementary
#BB5AED #D6ED5A #5AED72
monochromatic
#8114B8 #A423E7 #BB5AED #D291F3 #E8C8F9

Accessibility & contrast

On white

3.62
#BB5AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#BB5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AED
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AED#FFFFFF#000000##000000
##BB5AED1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F2
Deuteranopia (green-blind)
#4F88EA
Tritanopia (blue-blind)
#B5769C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bb5aed;
/* rgb */ color: rgb(187, 90, 237);
/* oklch */ color: oklch(64.8% 0.221 312.2);
Tailwind
colors: {
  custom: {
    50: '#d38ef3',
    500: '#bb5aed',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aed;
$custom-light: #d38ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aed",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 279.592,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64824,
    "c": 0.22111,
    "h": 312.2
  },
  "luminance": 0.23992
}

Semantic roles & 50–950 ramp

primary
#BB5AED
secondary
#C9EBB8
accent
#DD0951
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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