#BB52C9#BB52C9

#BB52C9 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.8% C 0.198 H 322.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BB52C9
RGBrgb(187, 82, 201)
HSLhsl(293, 52%, 55%)
HSVhsv(293, 59%, 79%)
CMYKcmyk(7%, 59.2%, 0%, 21.2%)
CIE-LABlab(52.75, 58.78, -43.10)
CIE-LCHlch(52.75, 72.89, 323.75°)
OKLaboklab(61.77% 0.1577 -0.1196)
OKLCHoklch(61.77% 0.198 322.8)
XYZxyz(34.0524, 20.8182, 57.4717)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52C9 #60C952
analogous
#7F52C9 #BB52C9 #C9529B
triadic
#BB52C9 #C9BB52 #52C9BB
tetradic
#BB52C9 #C97F52 #60C952 #529BC9
square
#BB52C9 #C97F52 #60C952 #529BC9
split-complementary
#BB52C9 #9BC952 #52C97F
monochromatic
#70267A #9B35A9 #BB52C9 #CD81D8 #E0AFE6

Accessibility & contrast

On white

4.07
#BB52C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BB52C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52C9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52C9#FFFFFF#000000##000000
##BB52C91.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CD
Deuteranopia (green-blind)
#6282C6
Tritanopia (blue-blind)
#BE6386
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb52c9;
/* rgb */ color: rgb(187, 82, 201);
/* oklch */ color: oklch(61.8% 0.198 322.8);
Tailwind
colors: {
  custom: {
    50: '#d288da',
    500: '#bb52c9',
    950: '#000000',
  },
}
SCSS
$custom: #bb52c9;
$custom-light: #d288da;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52c9",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 201
  },
  "hsl": {
    "h": 292.941,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61765,
    "c": 0.19795,
    "h": 322.8
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

primary
#BB52C9
secondary
#A8D4A3
accent
#DC4C5D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB52C9

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

Preview Lab → · Contrast checker → · Palette generator →

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