#C052C8#C052C8

#C052C8 is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.4% C 0.200 H 324.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C052C8
RGBrgb(192, 82, 200)
HSLhsl(296, 52%, 55%)
HSVhsv(296, 59%, 78%)
CMYKcmyk(4%, 59%, 0%, 21.6%)
CIE-LABlab(53.40, 59.86, -41.45)
CIE-LCHlch(53.40, 72.81, 325.30°)
OKLaboklab(62.36% 0.1634 -0.1147)
OKLCHoklch(62.36% 0.2 324.9)
XYZxyz(35.1800, 21.4132, 56.9125)
Luminance0.2141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052C8 #5AC852
analogous
#8552C8 #C052C8 #C85295
triadic
#C052C8 #C8C052 #52C8C0
tetradic
#C052C8 #C88552 #5AC852 #5295C8
square
#C052C8 #C88552 #5AC852 #5295C8
split-complementary
#C052C8 #95C852 #52C885
monochromatic
#732779 #A035A8 #C052C8 #D180D7 #E2AFE6

Accessibility & contrast

On white

3.98
#C052C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#C052C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052C8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052C8#FFFFFF#000000##000000
##C052C81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4077CC
Deuteranopia (green-blind)
#6784C5
Tritanopia (blue-blind)
#C46285
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c052c8;
/* rgb */ color: rgb(192, 82, 200);
/* oklch */ color: oklch(62.4% 0.200 324.9);
Tailwind
colors: {
  custom: {
    50: '#d689d9',
    500: '#c052c8',
    950: '#000000',
  },
}
SCSS
$custom: #c052c8;
$custom-light: #d689d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c052c8",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 295.932,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62364,
    "c": 0.19963,
    "h": 324.9
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#C052C8
secondary
#A6D4A2
accent
#DB4D56
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C15
muted
#837D83

Preview Lab

Preview with #C052C8

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

Preview Lab → · Contrast checker → · Palette generator →

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