#BB5BEE#BB5BEE

#BB5BEE is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.0% C 0.221 H 311.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BB5BEE
RGBrgb(187, 91, 238)
HSLhsl(279, 81%, 65%)
HSVhsv(279, 62%, 93%)
CMYKcmyk(21.4%, 61.8%, 0%, 6.7%)
CIE-LABlab(56.31, 61.97, -58.36)
CIE-LCHlch(56.31, 85.13, 316.72°)
OKLaboklab(65.01% 0.1475 -0.1642)
OKLCHoklch(65.01% 0.221 311.9)
XYZxyz(39.6644, 24.2210, 83.4580)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BEE #8EEE5B
analogous
#725BEE #BB5BEE #EE5BD7
triadic
#BB5BEE #EEBB5B #5BEEBB
tetradic
#BB5BEE #EE725B #8EEE5B #5BD7EE
square
#BB5BEE #EE725B #8EEE5B #5BD7EE
split-complementary
#BB5BEE #D7EE5B #5BEE72
monochromatic
#8113BB #A424E8 #BB5BEE #D292F4 #E9CAF9

Accessibility & contrast

On white

3.59
#BB5BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#BB5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BEE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BEE#FFFFFF#000000##000000
##BB5BEE1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A82F3
Deuteranopia (green-blind)
#4F89EB
Tritanopia (blue-blind)
#B5779C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5bee;
/* rgb */ color: rgb(187, 91, 238);
/* oklch */ color: oklch(65.0% 0.221 311.9);
Tailwind
colors: {
  custom: {
    50: '#d38ff4',
    500: '#bb5bee',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bee;
$custom-light: #d38ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bee",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 279.184,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65008,
    "c": 0.22075,
    "h": 311.9
  },
  "luminance": 0.2422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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