#BB5CEE#BB5CEE

#BB5CEE is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.1% C 0.219 H 311.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BB5CEE
RGBrgb(187, 92, 238)
HSLhsl(279, 81%, 65%)
HSVhsv(279, 61%, 93%)
CMYKcmyk(21.4%, 61.3%, 0%, 6.7%)
CIE-LABlab(56.48, 61.50, -58.09)
CIE-LCHlch(56.48, 84.60, 316.63°)
OKLaboklab(65.13% 0.1463 -0.1635)
OKLCHoklch(65.13% 0.219 311.8)
XYZxyz(39.7505, 24.3931, 83.4867)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CEE #8FEE5C
analogous
#725CEE #BB5CEE #EE5CD8
triadic
#BB5CEE #EEBB5C #5CEEBB
tetradic
#BB5CEE #EE725C #8FEE5C #5CD8EE
square
#BB5CEE #EE725C #8FEE5C #5CD8EE
split-complementary
#BB5CEE #D8EE5C #5CEE72
monochromatic
#8114BC #A425E8 #BB5CEE #D293F4 #E9CBFA

Accessibility & contrast

On white

3.57
#BB5CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#BB5CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CEE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CEE#FFFFFF#000000##000000
##BB5CEE1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E83F3
Deuteranopia (green-blind)
#5089EB
Tritanopia (blue-blind)
#B5789D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5cee;
/* rgb */ color: rgb(187, 92, 238);
/* oklch */ color: oklch(65.1% 0.219 311.8);
Tailwind
colors: {
  custom: {
    50: '#d38ff4',
    500: '#bb5cee',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cee;
$custom-light: #d38ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cee",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 279.041,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65132,
    "c": 0.21938,
    "h": 311.8
  },
  "luminance": 0.24392
}

Semantic roles & 50–950 ramp

primary
#BB5CEE
secondary
#CBECBA
accent
#DD0853
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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