#BB5BEC#BB5BEC

#BB5BEC is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.9% C 0.219 H 312.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BB5BEC
RGBrgb(187, 91, 236)
HSLhsl(280, 79%, 64%)
HSVhsv(280, 61%, 93%)
CMYKcmyk(20.8%, 61.4%, 0%, 7.5%)
CIE-LABlab(56.19, 61.55, -57.43)
CIE-LCHlch(56.19, 84.19, 316.98°)
OKLaboklab(64.89% 0.1475 -0.1615)
OKLCHoklch(64.89% 0.219 312.4)
XYZxyz(39.3722, 24.1041, 81.9191)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BEC #8CEC5B
analogous
#735BEC #BB5BEC #EC5BD5
triadic
#BB5BEC #ECBB5B #5BECBB
tetradic
#BB5BEC #EC735B #8CEC5B #5BD5EC
square
#BB5BEC #EC735B #8CEC5B #5BD5EC
split-complementary
#BB5BEC #D5EC5B #5BEC73
monochromatic
#8115B7 #A424E6 #BB5BEC #D292F2 #E8C9F9

Accessibility & contrast

On white

3.61
#BB5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#BB5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BEC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BEC#FFFFFF#000000##000000
##BB5BEC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F0
Deuteranopia (green-blind)
#5189E9
Tritanopia (blue-blind)
#B6769B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5bec;
/* rgb */ color: rgb(187, 91, 236);
/* oklch */ color: oklch(64.9% 0.219 312.4);
Tailwind
colors: {
  custom: {
    50: '#d38ff3',
    500: '#bb5bec',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bec;
$custom-light: #d38ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bec",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 279.724,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64886,
    "c": 0.21875,
    "h": 312.4
  },
  "luminance": 0.24103
}

Semantic roles & 50–950 ramp

primary
#BB5BEC
secondary
#C9EBB8
accent
#DC0A51
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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