#BB5DFE#BB5DFE

#BB5DFE is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.3% C 0.234 H 308.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BB5DFE
RGBrgb(187, 93, 254)
HSLhsl(275, 99%, 68%)
HSVhsv(275, 63%, 100%)
CMYKcmyk(26.4%, 63.4%, 0%, 0.4%)
CIE-LABlab(57.61, 64.45, -65.17)
CIE-LCHlch(57.61, 91.66, 314.68°)
OKLaboklab(66.25% 0.1446 -0.1842)
OKLCHoklch(66.25% 0.234 308.1)
XYZxyz(42.2936, 25.5499, 96.4503)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DFE #A0FE5D
analogous
#6A5DFE #BB5DFE #FE5DF1
triadic
#BB5DFE #FEBB5D #5DFEBB
tetradic
#BB5DFE #FE6A5D #A0FE5D #5DF1FE
square
#BB5DFE #FE6A5D #A0FE5D #5DF1FE
split-complementary
#BB5DFE #F1FE5D #5DFE6A
monochromatic
#8301DF #A120FE #BB5DFE #D59AFE #EED7FF

Accessibility & contrast

On white

3.44
#BB5DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BB5DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DFE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DFE#FFFFFF#000000##000000
##BB5DFE1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#408BFA
Tritanopia (blue-blind)
#B17EA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bb5dfe;
/* rgb */ color: rgb(187, 93, 254);
/* oklch */ color: oklch(66.3% 0.234 308.1);
Tailwind
colors: {
  custom: {
    50: '#d490ff',
    500: '#bb5dfe',
    950: '#000000',
  },
}
SCSS
$custom: #bb5dfe;
$custom-light: #d490ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5dfe",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 275.031,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66254,
    "c": 0.23415,
    "h": 308.1
  },
  "luminance": 0.25549
}

Semantic roles & 50–950 ramp

primary
#BB5DFE
secondary
#D7F4C3
accent
#E60060
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB5DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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