#C052C5#C052C5

#C052C5 is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.2% C 0.197 H 325.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C052C5
RGBrgb(192, 82, 197)
HSLhsl(297, 50%, 55%)
HSVhsv(297, 58%, 77%)
CMYKcmyk(2.5%, 58.4%, 0%, 22.7%)
CIE-LABlab(53.25, 59.33, -39.97)
CIE-LCHlch(53.25, 71.53, 326.03°)
OKLaboklab(62.21% 0.1631 -0.1104)
OKLCHoklch(62.21% 0.197 325.9)
XYZxyz(34.8328, 21.2743, 55.0841)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052C5 #57C552
analogous
#8652C5 #C052C5 #C55291
triadic
#C052C5 #C5C052 #52C5C0
tetradic
#C052C5 #C58652 #57C552 #5291C5
square
#C052C5 #C58652 #57C552 #5291C5
split-complementary
#C052C5 #91C552 #52C586
monochromatic
#722775 #9E37A3 #C052C5 #D180D4 #E1AEE4

Accessibility & contrast

On white

4.00
#C052C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#C052C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052C5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052C5#FFFFFF#000000##000000
##C052C51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4276C9
Deuteranopia (green-blind)
#6884C2
Tritanopia (blue-blind)
#C56184
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c052c5;
/* rgb */ color: rgb(192, 82, 197);
/* oklch */ color: oklch(62.2% 0.197 325.9);
Tailwind
colors: {
  custom: {
    50: '#d689d7',
    500: '#c052c5',
    950: '#000000',
  },
}
SCSS
$custom: #c052c5;
$custom-light: #d689d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c052c5",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 297.391,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62206,
    "c": 0.197,
    "h": 325.9
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

primary
#C052C5
secondary
#A3D2A1
accent
#D94E55
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C052C5

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

Preview Lab → · Contrast checker → · Palette generator →

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