#C052E1#C052E1

#C052E1 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.222 H 317.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C052E1
RGBrgb(192, 82, 225)
HSLhsl(286, 70%, 60%)
HSVhsv(286, 64%, 88%)
CMYKcmyk(14.7%, 63.6%, 0%, 11.8%)
CIE-LABlab(54.74, 64.54, -53.54)
CIE-LCHlch(54.74, 83.85, 320.32°)
OKLaboklab(63.77% 0.1641 -0.1499)
OKLCHoklch(63.77% 0.222 317.6)
XYZxyz(38.3442, 22.6789, 73.5772)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052E1 #73E152
analogous
#7952E1 #C052E1 #E152BA
triadic
#C052E1 #E1C052 #52E1C0
tetradic
#C052E1 #E17952 #73E152 #52BAE1
square
#C052E1 #E17952 #73E152 #52BAE1
split-complementary
#C052E1 #BAE152 #52E179
monochromatic
#7F1B9D #AA24D1 #C052E1 #D386EA #E6BAF3

Accessibility & contrast

On white

3.79
#C052E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C052E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052E1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052E1#FFFFFF#000000##000000
##C052E11.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#217CE5
Deuteranopia (green-blind)
#5786DE
Tritanopia (blue-blind)
#BF6B93
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c052e1;
/* rgb */ color: rgb(192, 82, 225);
/* oklch */ color: oklch(63.8% 0.222 317.6);
Tailwind
colors: {
  custom: {
    50: '#d68aeb',
    500: '#c052e1',
    950: '#000000',
  },
}
SCSS
$custom: #c052e1;
$custom-light: #d68aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c052e1",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 286.154,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6377,
    "c": 0.22227,
    "h": 317.6
  },
  "luminance": 0.22677
}

Semantic roles & 50–950 ramp

primary
#C052E1
secondary
#B9E3AC
accent
#D2133F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C052E1

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

Preview Lab → · Contrast checker → · Palette generator →

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