#BB5AF3#BB5AF3

#BB5AF3 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 65.2% C 0.227 H 310.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BB5AF3
RGBrgb(187, 90, 243)
HSLhsl(278, 86%, 65%)
HSVhsv(278, 63%, 95%)
CMYKcmyk(23%, 63%, 0%, 4.7%)
CIE-LABlab(56.44, 63.48, -60.95)
CIE-LCHlch(56.44, 88.00, 316.17°)
OKLaboklab(65.2% 0.1485 -0.1718)
OKLCHoklch(65.2% 0.227 310.8)
XYZxyz(40.3243, 24.3491, 87.3522)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AF3 #92F35A
analogous
#6E5AF3 #BB5AF3 #F35ADF
triadic
#BB5AF3 #F3BB5A #5AF3BB
tetradic
#BB5AF3 #F36E5A #92F35A #5ADFF3
square
#BB5AF3 #F36E5A #92F35A #5ADFF3
split-complementary
#BB5AF3 #DFF35A #5AF36E
monochromatic
#820EC4 #A321EF #BB5AF3 #D393F7 #EACCFB

Accessibility & contrast

On white

3.58
#BB5AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#BB5AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AF3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AF3#FFFFFF#000000##000000
##BB5AF31.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F8
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#B4789F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5af3;
/* rgb */ color: rgb(187, 90, 243);
/* oklch */ color: oklch(65.2% 0.227 310.8);
Tailwind
colors: {
  custom: {
    50: '#d38ef8',
    500: '#bb5af3',
    950: '#000000',
  },
}
SCSS
$custom: #bb5af3;
$custom-light: #d38ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5af3",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 278.039,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.22707,
    "h": 310.8
  },
  "luminance": 0.24348
}

Semantic roles & 50–950 ramp

primary
#BB5AF3
secondary
#CDEEBB
accent
#E30355
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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