#C52FAF#C52FAF

#C52FAF is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.226 H 334.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C52FAF
RGBrgb(197, 47, 175)
HSLhsl(309, 61%, 48%)
HSVhsv(309, 76%, 77%)
CMYKcmyk(0%, 76.1%, 11.2%, 22.7%)
CIE-LABlab(48.26, 70.05, -34.97)
CIE-LCHlch(48.26, 78.29, 333.47°)
OKLaboklab(58.39% 0.2044 -0.0957)
OKLCHoklch(58.39% 0.226 334.9)
XYZxyz(31.7807, 17.0014, 42.1569)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52FAF #2FC545
analogous
#902FC5 #C52FAF #C52F64
triadic
#C52FAF #AFC52F #2FAFC5
tetradic
#C52FAF #C5902F #2FC545 #2F64C5
square
#C52FAF #C5902F #2FC545 #2F64C5
split-complementary
#C52FAF #64C52F #2FC590
monochromatic
#621757 #942383 #C52FAF #D85AC5 #E38BD6

Accessibility & contrast

On white

4.77
#C52FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C52FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52FAF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52FAF#FFFFFF#000000##FFFFFF
##C52FAF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#667AAC
Tritanopia (blue-blind)
#CF3D6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c52faf;
/* rgb */ color: rgb(197, 47, 175);
/* oklch */ color: oklch(58.4% 0.226 334.9);
Tailwind
colors: {
  custom: {
    50: '#db78c7',
    500: '#c52faf',
    950: '#000000',
  },
}
SCSS
$custom: #c52faf;
$custom-light: #db78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c52faf",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 308.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58394,
    "c": 0.22567,
    "h": 334.9
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#C52FAF
secondary
#82CD8D
accent
#E55B43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C52FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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