#BB5AFF#BB5AFF

#BB5AFF is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 66.0% C 0.239 H 308.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#BB5AFF
RGBrgb(187, 90, 255)
HSLhsl(275, 100%, 68%)
HSVhsv(275, 65%, 100%)
CMYKcmyk(26.7%, 64.7%, 0%, 0%)
CIE-LABlab(57.17, 66.04, -66.42)
CIE-LCHlch(57.17, 93.67, 314.83°)
OKLaboklab(65.96% 0.1478 -0.1879)
OKLCHoklch(65.96% 0.239 308.2)
XYZxyz(42.1960, 25.0978, 97.2098)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AFF #9EFF5A
analogous
#695AFF #BB5AFF #FF5AF0
triadic
#BB5AFF #FFBB5A #5AFFBB
tetradic
#BB5AFF #FF695A #9EFF5A #5AF0FF
square
#BB5AFF #FF695A #9EFF5A #5AF0FF
split-complementary
#BB5AFF #F0FF5A #5AFF69
monochromatic
#8300DF #A21DFF #BB5AFF #D497FF #EDD4FF

Accessibility & contrast

On white

3.49
#BB5AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#BB5AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AFF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AFF#FFFFFF#000000##000000
##BB5AFF1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb5aff;
/* rgb */ color: rgb(187, 90, 255);
/* oklch */ color: oklch(66.0% 0.239 308.2);
Tailwind
colors: {
  custom: {
    50: '#d48eff',
    500: '#bb5aff',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aff;
$custom-light: #d48eff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aff",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 275.273,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6596,
    "c": 0.23903,
    "h": 308.2
  },
  "luminance": 0.25097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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