#BB5AEE#BB5AEE

#BB5AEE is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.9% C 0.222 H 312.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BB5AEE
RGBrgb(187, 90, 238)
HSLhsl(279, 81%, 64%)
HSVhsv(279, 62%, 93%)
CMYKcmyk(21.4%, 62.2%, 0%, 6.7%)
CIE-LABlab(56.14, 62.43, -58.64)
CIE-LCHlch(56.14, 85.65, 316.80°)
OKLaboklab(64.89% 0.1486 -0.165)
OKLCHoklch(64.89% 0.222 312)
XYZxyz(39.5795, 24.0512, 83.4297)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AEE #8DEE5A
analogous
#715AEE #BB5AEE #EE5AD7
triadic
#BB5AEE #EEBB5A #5AEEBB
tetradic
#BB5AEE #EE715A #8DEE5A #5AD7EE
square
#BB5AEE #EE715A #8DEE5A #5AD7EE
split-complementary
#BB5AEE #D7EE5A #5AEE71
monochromatic
#8113BA #A423E8 #BB5AEE #D291F4 #E9C9F9

Accessibility & contrast

On white

3.61
#BB5AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#BB5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AEE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AEE#FFFFFF#000000##000000
##BB5AEE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1682F3
Deuteranopia (green-blind)
#4E89EB
Tritanopia (blue-blind)
#B5769C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5aee;
/* rgb */ color: rgb(187, 90, 238);
/* oklch */ color: oklch(64.9% 0.222 312.0);
Tailwind
colors: {
  custom: {
    50: '#d38ef4',
    500: '#bb5aee',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aee;
$custom-light: #d38ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aee",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 279.324,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64886,
    "c": 0.22211,
    "h": 312
  },
  "luminance": 0.2405
}

Semantic roles & 50–950 ramp

primary
#BB5AEE
secondary
#CAECB8
accent
#DE0852
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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