#BB5BFE#BB5BFE

#BB5BFE is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 66.0% C 0.237 H 308.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BB5BFE
RGBrgb(187, 91, 254)
HSLhsl(275, 99%, 68%)
HSVhsv(275, 64%, 100%)
CMYKcmyk(26.4%, 64.2%, 0%, 0.4%)
CIE-LABlab(57.27, 65.37, -65.71)
CIE-LCHlch(57.27, 92.69, 314.85°)
OKLaboklab(66.01% 0.1467 -0.1858)
OKLCHoklch(66.01% 0.237 308.3)
XYZxyz(42.1204, 25.2034, 96.3925)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BFE #9EFE5B
analogous
#695BFE #BB5BFE #FE5BF0
triadic
#BB5BFE #FEBB5B #5BFEBB
tetradic
#BB5BFE #FE695B #9EFE5B #5BF0FE
square
#BB5BFE #FE695B #9EFE5B #5BF0FE
split-complementary
#BB5BFE #F0FE5B #5BFE69
monochromatic
#8301DD #A21EFE #BB5BFE #D498FE #EDD5FF

Accessibility & contrast

On white

3.48
#BB5BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#BB5BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BFE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BFE#FFFFFF#000000##000000
##BB5BFE1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3D8BFA
Tritanopia (blue-blind)
#B17DA5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5bfe;
/* rgb */ color: rgb(187, 91, 254);
/* oklch */ color: oklch(66.0% 0.237 308.3);
Tailwind
colors: {
  custom: {
    50: '#d48fff',
    500: '#bb5bfe',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bfe;
$custom-light: #d48fff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bfe",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 275.337,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66013,
    "c": 0.23674,
    "h": 308.3
  },
  "luminance": 0.25203
}

Semantic roles & 50–950 ramp

primary
#BB5BFE
secondary
#D6F4C1
accent
#E6005E
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB5BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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