#BB5AC7#BB5AC7

#BB5AC7 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.7% C 0.184 H 323.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BB5AC7
RGBrgb(187, 90, 199)
HSLhsl(293, 49%, 57%)
HSVhsv(293, 55%, 78%)
CMYKcmyk(6%, 54.8%, 0%, 22%)
CIE-LABlab(54.03, 54.67, -39.93)
CIE-LCHlch(54.03, 67.70, 323.86°)
OKLaboklab(62.67% 0.1473 -0.1105)
OKLCHoklch(62.67% 0.184 323.1)
XYZxyz(34.4575, 22.0024, 56.4536)
Luminance0.2200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AC7 #66C75A
analogous
#855AC7 #BB5AC7 #C75A9D
triadic
#BB5AC7 #C7BB5A #5AC7BB
tetradic
#BB5AC7 #C7855A #66C75A #5A9DC7
square
#BB5AC7 #C7855A #66C75A #5A9DC7
split-complementary
#BB5AC7 #9DC75A #5AC785
monochromatic
#732A7C #9E3AAA #BB5AC7 #CE88D7 #E1B5E6

Accessibility & contrast

On white

3.89
#BB5AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#BB5AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AC7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AC7#FFFFFF#000000##000000
##BB5AC71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#6985C4
Tritanopia (blue-blind)
#BE6988
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb5ac7;
/* rgb */ color: rgb(187, 90, 199);
/* oklch */ color: oklch(62.7% 0.184 323.1);
Tailwind
colors: {
  custom: {
    50: '#d28dd8',
    500: '#bb5ac7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ac7;
$custom-light: #d28dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ac7",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 293.394,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62667,
    "c": 0.18416,
    "h": 323.1
  },
  "luminance": 0.22001
}

Semantic roles & 50–950 ramp

primary
#BB5AC7
secondary
#ADD5A8
accent
#D94F5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB5AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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