#C052C2#C052C2

#C052C2 is a light, vivid purple. Relative luminance 0.211; OKLCH L 62.0% C 0.194 H 326.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C052C2
RGBrgb(192, 82, 194)
HSLhsl(299, 48%, 54%)
HSVhsv(299, 58%, 76%)
CMYKcmyk(1%, 57.7%, 0%, 23.9%)
CIE-LABlab(53.10, 58.80, -38.48)
CIE-LCHlch(53.10, 70.27, 326.80°)
OKLaboklab(62.05% 0.1629 -0.1061)
OKLCHoklch(62.05% 0.194 326.9)
XYZxyz(34.4925, 21.1382, 53.2918)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052C2 #54C252
analogous
#8852C2 #C052C2 #C2528C
triadic
#C052C2 #C2C052 #52C2C0
tetradic
#C052C2 #C28852 #54C252 #528CC2
square
#C052C2 #C28852 #54C252 #528CC2
split-complementary
#C052C2 #8CC252 #52C288
monochromatic
#702872 #9D389F #C052C2 #D07FD2 #E1ACE2

Accessibility & contrast

On white

4.02
#C052C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C052C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052C2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052C2#FFFFFF#000000##000000
##C052C21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4476C5
Deuteranopia (green-blind)
#6A84BF
Tritanopia (blue-blind)
#C56082
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c052c2;
/* rgb */ color: rgb(192, 82, 194);
/* oklch */ color: oklch(62.0% 0.194 326.9);
Tailwind
colors: {
  custom: {
    50: '#d689d5',
    500: '#c052c2',
    950: '#000000',
  },
}
SCSS
$custom: #c052c2;
$custom-light: #d689d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c052c2",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 298.929,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62049,
    "c": 0.19439,
    "h": 326.9
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#C052C2
secondary
#A1D0A0
accent
#D75053
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C052C2

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

Preview Lab → · Contrast checker → · Palette generator →

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