#BB5AFE#BB5AFE

#BB5AFE is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.9% C 0.238 H 308.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#BB5AFE
RGBrgb(187, 90, 254)
HSLhsl(275, 99%, 67%)
HSVhsv(275, 65%, 100%)
CMYKcmyk(26.4%, 64.6%, 0%, 0.4%)
CIE-LABlab(57.11, 65.82, -65.97)
CIE-LCHlch(57.11, 93.19, 314.94°)
OKLaboklab(65.9% 0.1478 -0.1866)
OKLCHoklch(65.9% 0.238 308.4)
XYZxyz(42.0354, 25.0335, 96.3642)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AFE #9DFE5A
analogous
#695AFE #BB5AFE #FE5AEF
triadic
#BB5AFE #FEBB5A #5AFEBB
tetradic
#BB5AFE #FE695A #9DFE5A #5AEFFE
square
#BB5AFE #FE695A #9DFE5A #5AEFFE
split-complementary
#BB5AFE #EFFE5A #5AFE69
monochromatic
#8301DC #A21DFE #BB5AFE #D497FE #EDD4FF

Accessibility & contrast

On white

3.50
#BB5AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#BB5AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AFE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AFE#FFFFFF#000000##000000
##BB5AFE1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#3C8AFA
Tritanopia (blue-blind)
#B17CA5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5afe;
/* rgb */ color: rgb(187, 90, 254);
/* oklch */ color: oklch(65.9% 0.238 308.4);
Tailwind
colors: {
  custom: {
    50: '#d48eff',
    500: '#bb5afe',
    950: '#000000',
  },
}
SCSS
$custom: #bb5afe;
$custom-light: #d48eff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5afe",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 254
  },
  "hsl": {
    "h": 275.488,
    "s": 98.795,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65895,
    "c": 0.23803,
    "h": 308.4
  },
  "luminance": 0.25033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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