#BB5CEB#BB5CEB

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

Color values

HEX#BB5CEB
RGBrgb(187, 92, 235)
HSLhsl(280, 78%, 64%)
HSVhsv(280, 61%, 92%)
CMYKcmyk(20.4%, 60.9%, 0%, 7.8%)
CIE-LABlab(56.31, 60.88, -56.69)
CIE-LCHlch(56.31, 83.19, 317.04°)
OKLaboklab(64.95% 0.1464 -0.1594)
OKLCHoklch(64.95% 0.216 312.6)
XYZxyz(39.3134, 24.2183, 81.1848)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CEB #8CEB5C
analogous
#745CEB #BB5CEB #EB5CD4
triadic
#BB5CEB #EBBB5C #5CEBBB
tetradic
#BB5CEB #EB745C #8CEB5C #5CD4EB
square
#BB5CEB #EB745C #8CEB5C #5CD4EB
split-complementary
#BB5CEB #D4EB5C #5CEB74
monochromatic
#8116B6 #A425E4 #BB5CEB #D293F2 #E8C9F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5CEB#FFFFFF#000000##000000
##BB5CEB1.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)
#2582EF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#B6779B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5ceb;
/* rgb */ color: rgb(187, 92, 235);
/* oklch */ color: oklch(65.0% 0.216 312.6);
Tailwind
colors: {
  custom: {
    50: '#d38ff2',
    500: '#bb5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ceb;
$custom-light: #d38ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ceb",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 279.86,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6495,
    "c": 0.21637,
    "h": 312.6
  },
  "luminance": 0.24217
}

Semantic roles & 50–950 ramp

primary
#BB5CEB
secondary
#C9EAB8
accent
#DA0B51
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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