#BB5AEF#BB5AEF

#BB5AEF is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.9% C 0.223 H 311.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BB5AEF
RGBrgb(187, 90, 239)
HSLhsl(279, 82%, 65%)
HSVhsv(279, 62%, 94%)
CMYKcmyk(21.8%, 62.3%, 0%, 6.3%)
CIE-LABlab(56.20, 62.64, -59.10)
CIE-LCHlch(56.20, 86.12, 316.67°)
OKLaboklab(64.95% 0.1486 -0.1664)
OKLCHoklch(64.95% 0.223 311.8)
XYZxyz(39.7268, 24.1101, 84.2056)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AEF #8EEF5A
analogous
#715AEF #BB5AEF #EF5AD9
triadic
#BB5AEF #EFBB5A #5AEFBB
tetradic
#BB5AEF #EF715A #8EEF5A #5AD9EF
square
#BB5AEF #EF715A #8EEF5A #5AD9EF
split-complementary
#BB5AEF #D9EF5A #5AEF71
monochromatic
#8112BC #A422EA #BB5AEF #D292F4 #E9CAFA

Accessibility & contrast

On white

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

On black

5.82
#BB5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AEF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AEF#FFFFFF#000000##000000
##BB5AEF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1382F4
Deuteranopia (green-blind)
#4D89EC
Tritanopia (blue-blind)
#B5779D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5aef;
/* rgb */ color: rgb(187, 90, 239);
/* oklch */ color: oklch(64.9% 0.223 311.8);
Tailwind
colors: {
  custom: {
    50: '#d38ef5',
    500: '#bb5aef',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aef;
$custom-light: #d38ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aef",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 279.06,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64947,
    "c": 0.2231,
    "h": 311.8
  },
  "luminance": 0.24109
}

Semantic roles & 50–950 ramp

primary
#BB5AEF
secondary
#CBECB9
accent
#DF0752
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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