#BB5CEC#BB5CEC

#BB5CEC is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 65.0% C 0.217 H 312.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BB5CEC
RGBrgb(187, 92, 236)
HSLhsl(280, 79%, 64%)
HSVhsv(280, 61%, 93%)
CMYKcmyk(20.8%, 61%, 0%, 7.5%)
CIE-LABlab(56.36, 61.08, -57.16)
CIE-LCHlch(56.36, 83.66, 316.90°)
OKLaboklab(65.01% 0.1464 -0.1607)
OKLCHoklch(65.01% 0.217 312.3)
XYZxyz(39.4583, 24.2762, 81.9478)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CEC #8DEC5C
analogous
#735CEC #BB5CEC #EC5CD5
triadic
#BB5CEC #ECBB5C #5CECBB
tetradic
#BB5CEC #EC735C #8DEC5C #5CD5EC
square
#BB5CEC #EC735C #8DEC5C #5CD5EC
split-complementary
#BB5CEC #D5EC5C #5CEC73
monochromatic
#8115B8 #A425E6 #BB5CEC #D293F2 #E9CAF9

Accessibility & contrast

On white

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

On black

5.86
#BB5CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CEC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CEC#FFFFFF#000000##000000
##BB5CEC1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382F0
Deuteranopia (green-blind)
#5289E9
Tritanopia (blue-blind)
#B6779C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5cec;
/* rgb */ color: rgb(187, 92, 236);
/* oklch */ color: oklch(65.0% 0.217 312.3);
Tailwind
colors: {
  custom: {
    50: '#d38ff3',
    500: '#bb5cec',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cec;
$custom-light: #d38ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cec",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 279.583,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65011,
    "c": 0.21737,
    "h": 312.3
  },
  "luminance": 0.24275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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