#BB5AF1#BB5AF1

#BB5AF1 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.1% C 0.225 H 311.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BB5AF1
RGBrgb(187, 90, 241)
HSLhsl(279, 84%, 65%)
HSVhsv(279, 63%, 95%)
CMYKcmyk(22.4%, 62.7%, 0%, 5.5%)
CIE-LABlab(56.32, 63.06, -60.03)
CIE-LCHlch(56.32, 87.06, 316.41°)
OKLaboklab(65.07% 0.1485 -0.1691)
OKLCHoklch(65.07% 0.225 311.3)
XYZxyz(40.0239, 24.2289, 85.7703)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AF1 #90F15A
analogous
#6F5AF1 #BB5AF1 #F15ADC
triadic
#BB5AF1 #F1BB5A #5AF1BB
tetradic
#BB5AF1 #F16F5A #90F15A #5ADCF1
square
#BB5AF1 #F16F5A #90F15A #5ADCF1
split-complementary
#BB5AF1 #DCF15A #5AF16F
monochromatic
#8110C0 #A422EC #BB5AF1 #D292F6 #E9CBFB

Accessibility & contrast

On white

3.59
#BB5AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#BB5AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AF1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AF1#FFFFFF#000000##000000
##BB5AF11.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A82F6
Deuteranopia (green-blind)
#4B89ED
Tritanopia (blue-blind)
#B4779E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5af1;
/* rgb */ color: rgb(187, 90, 241);
/* oklch */ color: oklch(65.1% 0.225 311.3);
Tailwind
colors: {
  custom: {
    50: '#d38ef6',
    500: '#bb5af1',
    950: '#000000',
  },
}
SCSS
$custom: #bb5af1;
$custom-light: #d38ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5af1",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 278.543,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65071,
    "c": 0.22508,
    "h": 311.3
  },
  "luminance": 0.24228
}

Semantic roles & 50–950 ramp

primary
#BB5AF1
secondary
#CCEDBA
accent
#E10553
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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