#BB5AEC#BB5AEC

#BB5AEC is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.8% C 0.220 H 312.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BB5AEC
RGBrgb(187, 90, 236)
HSLhsl(280, 79%, 64%)
HSVhsv(280, 62%, 93%)
CMYKcmyk(20.8%, 61.9%, 0%, 7.5%)
CIE-LABlab(56.02, 62.02, -57.71)
CIE-LCHlch(56.02, 84.71, 317.06°)
OKLaboklab(64.76% 0.1487 -0.1623)
OKLCHoklch(64.76% 0.22 312.5)
XYZxyz(39.2873, 23.9343, 81.8908)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AEC #8BEC5A
analogous
#725AEC #BB5AEC #EC5AD4
triadic
#BB5AEC #ECBB5A #5AECBB
tetradic
#BB5AEC #EC725A #8BEC5A #5AD4EC
square
#BB5AEC #EC725A #8BEC5A #5AD4EC
split-complementary
#BB5AEC #D4EC5A #5AEC72
monochromatic
#8015B7 #A423E6 #BB5AEC #D291F2 #E8C8F9

Accessibility & contrast

On white

3.63
#BB5AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#BB5AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AEC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AEC#FFFFFF#000000##000000
##BB5AEC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81F1
Deuteranopia (green-blind)
#5088E9
Tritanopia (blue-blind)
#B6769B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bb5aec;
/* rgb */ color: rgb(187, 90, 236);
/* oklch */ color: oklch(64.8% 0.220 312.5);
Tailwind
colors: {
  custom: {
    50: '#d38ef3',
    500: '#bb5aec',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aec;
$custom-light: #d38ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aec",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 279.863,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64763,
    "c": 0.22012,
    "h": 312.5
  },
  "luminance": 0.23933
}

Semantic roles & 50–950 ramp

primary
#BB5AEC
secondary
#C8EBB7
accent
#DC0A50
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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