#C052DD#C052DD

#C052DD is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.5% C 0.219 H 318.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C052DD
RGBrgb(192, 82, 221)
HSLhsl(287, 67%, 59%)
HSVhsv(287, 63%, 87%)
CMYKcmyk(13.1%, 62.9%, 0%, 13.3%)
CIE-LABlab(54.52, 63.77, -51.64)
CIE-LCHlch(54.52, 82.05, 321.00°)
OKLaboklab(63.54% 0.1641 -0.1444)
OKLCHoklch(63.54% 0.219 318.7)
XYZxyz(37.8049, 22.4631, 70.7370)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052DD #6FDD52
analogous
#7B52DD #C052DD #DD52B5
triadic
#C052DD #DDC052 #52DDC0
tetradic
#C052DD #DD7B52 #6FDD52 #52B5DD
square
#C052DD #DD7B52 #6FDD52 #52B5DD
split-complementary
#C052DD #B5DD52 #52DD7B
monochromatic
#7E1E97 #A828CA #C052DD #D385E7 #E5B8F1

Accessibility & contrast

On white

3.82
#C052DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C052DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052DD#FFFFFF#000000##000000
##C052DD1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE1
Deuteranopia (green-blind)
#5A86DA
Tritanopia (blue-blind)
#C06A90
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c052dd;
/* rgb */ color: rgb(192, 82, 221);
/* oklch */ color: oklch(63.5% 0.219 318.7);
Tailwind
colors: {
  custom: {
    50: '#d689e8',
    500: '#c052dd',
    950: '#000000',
  },
}
SCSS
$custom: #c052dd;
$custom-light: #d689e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c052dd",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 287.482,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63535,
    "c": 0.21858,
    "h": 318.7
  },
  "luminance": 0.22462
}

Semantic roles & 50–950 ramp

primary
#C052DD
secondary
#B6E0AA
accent
#EA3E62
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C052DD

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

Preview Lab → · Contrast checker → · Palette generator →

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