#C052DF#C052DF

#C052DF is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.220 H 318.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C052DF
RGBrgb(192, 82, 223)
HSLhsl(287, 69%, 60%)
HSVhsv(287, 63%, 87%)
CMYKcmyk(13.9%, 63.2%, 0%, 12.5%)
CIE-LABlab(54.63, 64.15, -52.59)
CIE-LCHlch(54.63, 82.95, 320.65°)
OKLaboklab(63.65% 0.1641 -0.1472)
OKLCHoklch(63.65% 0.22 318.1)
XYZxyz(38.0730, 22.5704, 72.1487)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052DF #71DF52
analogous
#7A52DF #C052DF #DF52B7
triadic
#C052DF #DFC052 #52DFC0
tetradic
#C052DF #DF7A52 #71DF52 #52B7DF
square
#C052DF #DF7A52 #71DF52 #52B7DF
split-complementary
#C052DF #B7DF52 #52DF7A
monochromatic
#7E1D9A #A926CE #C052DF #D386E9 #E6B9F2

Accessibility & contrast

On white

3.81
#C052DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C052DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052DF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052DF#FFFFFF#000000##000000
##C052DF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#247CE3
Deuteranopia (green-blind)
#5886DC
Tritanopia (blue-blind)
#BF6B91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c052df;
/* rgb */ color: rgb(192, 82, 223);
/* oklch */ color: oklch(63.7% 0.220 318.1);
Tailwind
colors: {
  custom: {
    50: '#d689ea',
    500: '#c052df',
    950: '#000000',
  },
}
SCSS
$custom: #c052df;
$custom-light: #d689ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c052df",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 286.809,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63652,
    "c": 0.22043,
    "h": 318.1
  },
  "luminance": 0.22569
}

Semantic roles & 50–950 ramp

primary
#C052DF
secondary
#B7E2AB
accent
#EC3C63
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C052DF

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

Preview Lab → · Contrast checker → · Palette generator →

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