#BB5DFB#BB5DFB

#BB5DFB is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 66.1% C 0.231 H 308.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BB5DFB
RGBrgb(187, 93, 251)
HSLhsl(276, 95%, 67%)
HSVhsv(276, 63%, 98%)
CMYKcmyk(25.5%, 62.9%, 0%, 1.6%)
CIE-LABlab(57.42, 63.80, -63.80)
CIE-LCHlch(57.42, 90.23, 315.00°)
OKLaboklab(66.06% 0.1447 -0.1802)
OKLCHoklch(66.06% 0.231 308.8)
XYZxyz(41.8170, 25.3592, 93.9400)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DFB #9DFB5D
analogous
#6C5DFB #BB5DFB #FB5DEC
triadic
#BB5DFB #FBBB5D #5DFBBB
tetradic
#BB5DFB #FB6C5D #9DFB5D #5DECFB
square
#BB5DFB #FB6C5D #9DFB5D #5DECFB
split-complementary
#BB5DFB #ECFB5D #5DFB6C
monochromatic
#8305D8 #A221FA #BB5DFB #D499FC #EDD4FE

Accessibility & contrast

On white

3.46
#BB5DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#BB5DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DFB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DFB#FFFFFF#000000##000000
##BB5DFB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#438BF7
Tritanopia (blue-blind)
#B27DA4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bb5dfb;
/* rgb */ color: rgb(187, 93, 251);
/* oklch */ color: oklch(66.1% 0.231 308.8);
Tailwind
colors: {
  custom: {
    50: '#d490fd',
    500: '#bb5dfb',
    950: '#000000',
  },
}
SCSS
$custom: #bb5dfb;
$custom-light: #d490fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5dfb",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 275.696,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66063,
    "c": 0.23112,
    "h": 308.8
  },
  "luminance": 0.25359
}

Semantic roles & 50–950 ramp

primary
#BB5DFB
secondary
#D5F3C1
accent
#E6005D
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB5DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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