#BB52C7#BB52C7

#BB52C7 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.7% C 0.196 H 323.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB52C7
RGBrgb(187, 82, 199)
HSLhsl(294, 51%, 55%)
HSVhsv(294, 59%, 78%)
CMYKcmyk(6%, 58.8%, 0%, 22%)
CIE-LABlab(52.65, 58.41, -42.11)
CIE-LCHlch(52.65, 72.01, 324.21°)
OKLaboklab(61.66% 0.1576 -0.1168)
OKLCHoklch(61.66% 0.196 323.5)
XYZxyz(33.8186, 20.7247, 56.2407)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52C7 #5EC752
analogous
#8052C7 #BB52C7 #C75299
triadic
#BB52C7 #C7BB52 #52C7BB
tetradic
#BB52C7 #C78052 #5EC752 #5299C7
square
#BB52C7 #C78052 #5EC752 #5299C7
split-complementary
#BB52C7 #99C752 #52C780
monochromatic
#702778 #9B36A6 #BB52C7 #CD80D6 #DFAEE5

Accessibility & contrast

On white

4.08
#BB52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BB52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52C7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52C7#FFFFFF#000000##000000
##BB52C71.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CB
Deuteranopia (green-blind)
#6382C4
Tritanopia (blue-blind)
#BE6385
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb52c7;
/* rgb */ color: rgb(187, 82, 199);
/* oklch */ color: oklch(61.7% 0.196 323.5);
Tailwind
colors: {
  custom: {
    50: '#d288d8',
    500: '#bb52c7',
    950: '#000000',
  },
}
SCSS
$custom: #bb52c7;
$custom-light: #d288d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52c7",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 293.846,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61656,
    "c": 0.19613,
    "h": 323.5
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#BB52C7
secondary
#A7D3A2
accent
#DB4D5C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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