#BB5AF4#BB5AF4

#BB5AF4 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.3% C 0.228 H 310.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BB5AF4
RGBrgb(187, 90, 244)
HSLhsl(278, 88%, 65%)
HSVhsv(278, 63%, 96%)
CMYKcmyk(23.4%, 63.1%, 0%, 4.3%)
CIE-LABlab(56.50, 63.69, -61.41)
CIE-LCHlch(56.50, 88.48, 316.05°)
OKLaboklab(65.26% 0.1484 -0.1732)
OKLCHoklch(65.26% 0.228 310.6)
XYZxyz(40.4757, 24.4097, 88.1497)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AF4 #93F45A
analogous
#6E5AF4 #BB5AF4 #F45AE0
triadic
#BB5AF4 #F4BB5A #5AF4BB
tetradic
#BB5AF4 #F46E5A #93F45A #5AE0F4
square
#BB5AF4 #F46E5A #93F45A #5AE0F4
split-complementary
#BB5AF4 #E0F45A #5AF46E
monochromatic
#820DC6 #A321F0 #BB5AF4 #D393F8 #EACDFC

Accessibility & contrast

On white

3.57
#BB5AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#BB5AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AF4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AF4#FFFFFF#000000##000000
##BB5AF41.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#4889F0
Tritanopia (blue-blind)
#B4799F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5af4;
/* rgb */ color: rgb(187, 90, 244);
/* oklch */ color: oklch(65.3% 0.228 310.6);
Tailwind
colors: {
  custom: {
    50: '#d38ef8',
    500: '#bb5af4',
    950: '#000000',
  },
}
SCSS
$custom: #bb5af4;
$custom-light: #d38ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5af4",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 277.792,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65258,
    "c": 0.22807,
    "h": 310.6
  },
  "luminance": 0.24409
}

Semantic roles & 50–950 ramp

primary
#BB5AF4
secondary
#CEEFBB
accent
#E40155
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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