#C052D6#C052D6

#C052D6 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.1% C 0.212 H 320.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C052D6
RGBrgb(192, 82, 214)
HSLhsl(290, 62%, 58%)
HSVhsv(290, 62%, 84%)
CMYKcmyk(10.3%, 61.7%, 0%, 16.1%)
CIE-LABlab(54.13, 62.44, -48.28)
CIE-LCHlch(54.13, 78.93, 322.28°)
OKLaboklab(63.13% 0.164 -0.1346)
OKLCHoklch(63.13% 0.212 320.6)
XYZxyz(36.8917, 22.0979, 65.9274)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052D6 #68D652
analogous
#7E52D6 #C052D6 #D652AA
triadic
#C052D6 #D6C052 #52D6C0
tetradic
#C052D6 #D67E52 #68D652 #52AAD6
square
#C052D6 #D67E52 #68D652 #52AAD6
split-complementary
#C052D6 #AAD652 #52D67E
monochromatic
#7A218C #A62DBE #C052D6 #D283E2 #E4B5ED

Accessibility & contrast

On white

3.88
#C052D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#C052D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052D6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052D6#FFFFFF#000000##000000
##C052D61.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#327ADA
Deuteranopia (green-blind)
#5E85D3
Tritanopia (blue-blind)
#C1678D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c052d6;
/* rgb */ color: rgb(192, 82, 214);
/* oklch */ color: oklch(63.1% 0.212 320.6);
Tailwind
colors: {
  custom: {
    50: '#d689e3',
    500: '#c052d6',
    950: '#000000',
  },
}
SCSS
$custom: #c052d6;
$custom-light: #d689e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c052d6",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 290,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63133,
    "c": 0.21219,
    "h": 320.6
  },
  "luminance": 0.22096
}

Semantic roles & 50–950 ramp

primary
#C052D6
secondary
#B0DCA8
accent
#E5435E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C052D6

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

Preview Lab → · Contrast checker → · Palette generator →

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