#BB5DF9#BB5DF9

#BB5DF9 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.9% C 0.229 H 309.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BB5DF9
RGBrgb(187, 93, 249)
HSLhsl(276, 93%, 67%)
HSVhsv(276, 63%, 98%)
CMYKcmyk(24.9%, 62.7%, 0%, 2.4%)
CIE-LABlab(57.30, 63.37, -62.89)
CIE-LCHlch(57.30, 89.28, 315.22°)
OKLaboklab(65.94% 0.1448 -0.1775)
OKLCHoklch(65.94% 0.229 309.2)
XYZxyz(41.5034, 25.2338, 92.2884)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DF9 #9BF95D
analogous
#6D5DF9 #BB5DF9 #F95DE9
triadic
#BB5DF9 #F9BB5D #5DF9BB
tetradic
#BB5DF9 #F96D5D #9BF95D #5DE9F9
square
#BB5DF9 #F96D5D #9BF95D #5DE9F9
split-complementary
#BB5DF9 #E9F95D #5DF96D
monochromatic
#8308D4 #A222F7 #BB5DF9 #D498FB #EDD3FD

Accessibility & contrast

On white

3.47
#BB5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#BB5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DF9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DF9#FFFFFF#000000##000000
##BB5DF91.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FE
Deuteranopia (green-blind)
#468BF5
Tritanopia (blue-blind)
#B27CA3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bb5df9;
/* rgb */ color: rgb(187, 93, 249);
/* oklch */ color: oklch(65.9% 0.229 309.2);
Tailwind
colors: {
  custom: {
    50: '#d490fc',
    500: '#bb5df9',
    950: '#000000',
  },
}
SCSS
$custom: #bb5df9;
$custom-light: #d490fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5df9",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 276.154,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65937,
    "c": 0.2291,
    "h": 309.2
  },
  "luminance": 0.25233
}

Semantic roles & 50–950 ramp

primary
#BB5DF9
secondary
#D4F2C0
accent
#E6005B
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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