#BB5AF0#BB5AF0

#BB5AF0 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.0% C 0.224 H 311.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BB5AF0
RGBrgb(187, 90, 240)
HSLhsl(279, 83%, 65%)
HSVhsv(279, 63%, 94%)
CMYKcmyk(22.1%, 62.5%, 0%, 5.9%)
CIE-LABlab(56.26, 62.85, -59.56)
CIE-LCHlch(56.26, 86.59, 316.54°)
OKLaboklab(65.01% 0.1486 -0.1678)
OKLCHoklch(65.01% 0.224 311.5)
XYZxyz(39.8750, 24.1694, 84.9858)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AF0 #8FF05A
analogous
#705AF0 #BB5AF0 #F05ADA
triadic
#BB5AF0 #F0BB5A #5AF0BB
tetradic
#BB5AF0 #F0705A #8FF05A #5ADAF0
square
#BB5AF0 #F0705A #8FF05A #5ADAF0
split-complementary
#BB5AF0 #DAF05A #5AF070
monochromatic
#8111BE #A422EB #BB5AF0 #D292F5 #E9CAFA

Accessibility & contrast

On white

3.60
#BB5AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BB5AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AF0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AF0#FFFFFF#000000##000000
##BB5AF01.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F82F5
Deuteranopia (green-blind)
#4C89EC
Tritanopia (blue-blind)
#B5779D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5af0;
/* rgb */ color: rgb(187, 90, 240);
/* oklch */ color: oklch(65.0% 0.224 311.5);
Tailwind
colors: {
  custom: {
    50: '#d38ef6',
    500: '#bb5af0',
    950: '#000000',
  },
}
SCSS
$custom: #bb5af0;
$custom-light: #d38ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5af0",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 278.8,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65009,
    "c": 0.2241,
    "h": 311.5
  },
  "luminance": 0.24168
}

Semantic roles & 50–950 ramp

primary
#BB5AF0
secondary
#CBEDB9
accent
#E00653
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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