#BB51AF#BB51AF

#BB51AF is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.177 H 332.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BB51AF
RGBrgb(187, 81, 175)
HSLhsl(307, 44%, 53%)
HSVhsv(307, 57%, 73%)
CMYKcmyk(0%, 56.7%, 6.4%, 26.7%)
CIE-LABlab(51.32, 54.64, -30.30)
CIE-LCHlch(51.32, 62.48, 330.99°)
OKLaboklab(60.31% 0.1562 -0.0827)
OKLCHoklch(60.31% 0.177 332.1)
XYZxyz(31.1737, 19.5470, 42.6801)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51AF #51BB5D
analogous
#9251BB #BB51AF #BB517A
triadic
#BB51AF #AFBB51 #51AFBB
tetradic
#BB51AF #BB9251 #51BB5D #517ABB
square
#BB51AF #BB9251 #51BB5D #517ABB
split-complementary
#BB51AF #7ABB51 #51BB92
monochromatic
#692961 #953A8A #BB51AF #CC7DC3 #DDA9D7

Accessibility & contrast

On white

4.28
#BB51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BB51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51AF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51AF#FFFFFF#000000##000000
##BB51AF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B2
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#C25979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb51af;
/* rgb */ color: rgb(187, 81, 175);
/* oklch */ color: oklch(60.3% 0.177 332.1);
Tailwind
colors: {
  custom: {
    50: '#d287c7',
    500: '#bb51af',
    950: '#000000',
  },
}
SCSS
$custom: #bb51af;
$custom-light: #d287c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51af",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 306.792,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60309,
    "c": 0.17679,
    "h": 332.1
  },
  "luminance": 0.19545
}

Semantic roles & 50–950 ramp

primary
#BB51AF
secondary
#9DCBA2
accent
#D46354
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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