#BB5AF7#BB5AF7

#BB5AF7 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.4% C 0.231 H 309.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BB5AF7
RGBrgb(187, 90, 247)
HSLhsl(277, 91%, 66%)
HSVhsv(277, 64%, 97%)
CMYKcmyk(24.3%, 63.6%, 0%, 3.1%)
CIE-LABlab(56.68, 64.33, -62.79)
CIE-LCHlch(56.68, 89.89, 315.70°)
OKLaboklab(65.45% 0.1483 -0.1772)
OKLCHoklch(65.45% 0.231 309.9)
XYZxyz(40.9349, 24.5933, 90.5682)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AF7 #96F75A
analogous
#6C5AF7 #BB5AF7 #F75AE4
triadic
#BB5AF7 #F7BB5A #5AF7BB
tetradic
#BB5AF7 #F76C5A #96F75A #5AE4F7
square
#BB5AF7 #F76C5A #96F75A #5AE4F7
split-complementary
#BB5AF7 #E4F75A #5AF76C
monochromatic
#820ACD #A320F4 #BB5AF7 #D394FA #EBCFFD

Accessibility & contrast

On white

3.55
#BB5AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#BB5AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AF7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AF7#FFFFFF#000000##000000
##BB5AF71.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#4489F3
Tritanopia (blue-blind)
#B37AA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb5af7;
/* rgb */ color: rgb(187, 90, 247);
/* oklch */ color: oklch(65.4% 0.231 309.9);
Tailwind
colors: {
  custom: {
    50: '#d48efb',
    500: '#bb5af7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5af7;
$custom-light: #d48efb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5af7",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 277.07,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65447,
    "c": 0.23106,
    "h": 309.9
  },
  "luminance": 0.24593
}

Semantic roles & 50–950 ramp

primary
#BB5AF7
secondary
#D0F0BD
accent
#E60058
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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