#C52FBB#C52FBB

#C52FBB is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.234 H 331.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C52FBB
RGBrgb(197, 47, 187)
HSLhsl(304, 61%, 48%)
HSVhsv(304, 76%, 77%)
CMYKcmyk(0%, 76.1%, 5.1%, 22.7%)
CIE-LABlab(48.88, 71.82, -41.03)
CIE-LCHlch(48.88, 82.72, 330.26°)
OKLaboklab(59.03% 0.2049 -0.1132)
OKLCHoklch(59.03% 0.234 331.1)
XYZxyz(33.0121, 17.4939, 48.6421)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FBB #2FC539
analogous
#842FC5 #C52FBB #C52F70
triadic
#C52FBB #BBC52F #2FBBC5
tetradic
#C52FBB #C5842F #2FC539 #2F70C5
square
#C52FBB #C5842F #2FC539 #2F70C5
split-complementary
#C52FBB #70C52F #2FC584
monochromatic
#62175D #94238C #C52FBB #D85ACF #E38BDD

Accessibility & contrast

On white

4.67
#C52FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C52FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C52FBB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FBB#FFFFFF#000000##FFFFFF
##C52FBB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#CD4374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c52fbb;
/* rgb */ color: rgb(197, 47, 187);
/* oklch */ color: oklch(59.0% 0.234 331.1);
Tailwind
colors: {
  custom: {
    50: '#db78d0',
    500: '#c52fbb',
    950: '#000000',
  },
}
SCSS
$custom: #c52fbb;
$custom-light: #db78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c52fbb",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 304,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59033,
    "c": 0.23404,
    "h": 331.1
  },
  "luminance": 0.17491
}

Semantic roles & 50–950 ramp

primary
#C52FBB
secondary
#82CD87
accent
#E54E43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C52FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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