#BB52AF#BB52AF

#BB52AF is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.4% C 0.175 H 332.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BB52AF
RGBrgb(187, 82, 175)
HSLhsl(307, 44%, 53%)
HSVhsv(307, 56%, 73%)
CMYKcmyk(0%, 56.1%, 6.4%, 26.7%)
CIE-LABlab(51.49, 54.18, -30.03)
CIE-LCHlch(51.49, 61.94, 331.00°)
OKLaboklab(60.44% 0.1549 -0.082)
OKLCHoklch(60.44% 0.175 332.1)
XYZxyz(31.2486, 19.6967, 42.7051)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52AF #52BB5E
analogous
#9252BB #BB52AF #BB527B
triadic
#BB52AF #AFBB52 #52AFBB
tetradic
#BB52AF #BB9252 #52BB5E #527BBB
square
#BB52AF #BB9252 #52BB5E #527BBB
split-complementary
#BB52AF #7BBB52 #52BB92
monochromatic
#692962 #953B8B #BB52AF #CC7EC3 #DEAAD8

Accessibility & contrast

On white

4.25
#BB52AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BB52AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52AF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52AF#FFFFFF#000000##000000
##BB52AF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#C25A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb52af;
/* rgb */ color: rgb(187, 82, 175);
/* oklch */ color: oklch(60.4% 0.175 332.1);
Tailwind
colors: {
  custom: {
    50: '#d288c7',
    500: '#bb52af',
    950: '#000000',
  },
}
SCSS
$custom: #bb52af;
$custom-light: #d288c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52af",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 306.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60435,
    "c": 0.17526,
    "h": 332.1
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#BB52AF
secondary
#9ECBA3
accent
#D36354
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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