#BB5BED#BB5BED

#BB5BED is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.9% C 0.220 H 312.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BB5BED
RGBrgb(187, 91, 237)
HSLhsl(279, 80%, 64%)
HSVhsv(279, 62%, 93%)
CMYKcmyk(21.1%, 61.6%, 0%, 7.1%)
CIE-LABlab(56.25, 61.76, -57.90)
CIE-LCHlch(56.25, 84.66, 316.85°)
OKLaboklab(64.95% 0.1475 -0.1629)
OKLCHoklch(64.95% 0.22 312.2)
XYZxyz(39.5179, 24.1624, 82.6864)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BED #8DED5B
analogous
#725BED #BB5BED #ED5BD6
triadic
#BB5BED #EDBB5B #5BEDBB
tetradic
#BB5BED #ED725B #8DED5B #5BD6ED
square
#BB5BED #ED725B #8DED5B #5BD6ED
split-complementary
#BB5BED #D6ED5B #5BED72
monochromatic
#8114B9 #A424E7 #BB5BED #D292F3 #E9C9F9

Accessibility & contrast

On white

3.60
#BB5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BB5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BED
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BED#FFFFFF#000000##000000
##BB5BED1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D82F2
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#B5779C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5bed;
/* rgb */ color: rgb(187, 91, 237);
/* oklch */ color: oklch(64.9% 0.220 312.2);
Tailwind
colors: {
  custom: {
    50: '#d38ff3',
    500: '#bb5bed',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bed;
$custom-light: #d38ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bed",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 279.452,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64947,
    "c": 0.21975,
    "h": 312.2
  },
  "luminance": 0.24161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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