#BB5DEC#BB5DEC

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

Color values

HEX#BB5DEC
RGBrgb(187, 93, 236)
HSLhsl(279, 79%, 65%)
HSVhsv(279, 61%, 93%)
CMYKcmyk(20.8%, 60.6%, 0%, 7.5%)
CIE-LABlab(56.54, 60.61, -56.88)
CIE-LCHlch(56.54, 83.12, 316.82°)
OKLaboklab(65.14% 0.1452 -0.1599)
OKLCHoklch(65.14% 0.216 312.2)
XYZxyz(39.5455, 24.4506, 81.9769)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DEC #8EEC5D
analogous
#745DEC #BB5DEC #EC5DD5
triadic
#BB5DEC #ECBB5D #5DECBB
tetradic
#BB5DEC #EC745D #8EEC5D #5DD5EC
square
#BB5DEC #EC745D #8EEC5D #5DD5EC
split-complementary
#BB5DEC #D5EC5D #5DEC74
monochromatic
#8116B9 #A426E6 #BB5DEC #D294F2 #E9CBF9

Accessibility & contrast

On white

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

On black

5.89
#BB5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DEC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DEC#FFFFFF#000000##000000
##BB5DEC1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#B6789C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb5dec;
/* rgb */ color: rgb(187, 93, 236);
/* oklch */ color: oklch(65.1% 0.216 312.2);
Tailwind
colors: {
  custom: {
    50: '#d390f3',
    500: '#bb5dec',
    950: '#000000',
  },
}
SCSS
$custom: #bb5dec;
$custom-light: #d390f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5dec",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 279.441,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65136,
    "c": 0.21598,
    "h": 312.2
  },
  "luminance": 0.2445
}

Semantic roles & 50–950 ramp

primary
#BB5DEC
secondary
#CBEBBA
accent
#DB0A52
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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