#C052ED#C052ED

#C052ED is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.5% C 0.233 H 314.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C052ED
RGBrgb(192, 82, 237)
HSLhsl(283, 81%, 63%)
HSVhsv(283, 65%, 93%)
CMYKcmyk(19%, 65.4%, 0%, 7.1%)
CIE-LABlab(55.44, 66.89, -59.16)
CIE-LCHlch(55.44, 89.30, 318.51°)
OKLaboklab(64.5% 0.1637 -0.1664)
OKLCHoklch(64.5% 0.233 314.5)
XYZxyz(40.0391, 23.3568, 82.5035)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052ED #7FED52
analogous
#7352ED #C052ED #ED52CC
triadic
#C052ED #EDC052 #52EDC0
tetradic
#C052ED #ED7352 #7FED52 #52CCED
square
#C052ED #ED7352 #7FED52 #52CCED
split-complementary
#C052ED #CCED52 #52ED73
monochromatic
#8413B2 #AC1BE7 #C052ED #D489F3 #E8C1F9

Accessibility & contrast

On white

3.70
#C052ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#C052ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052ED
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052ED#FFFFFF#000000##000000
##C052ED1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#4C88E9
Tritanopia (blue-blind)
#BC7099
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c052ed;
/* rgb */ color: rgb(192, 82, 237);
/* oklch */ color: oklch(64.5% 0.233 314.5);
Tailwind
colors: {
  custom: {
    50: '#d78af4',
    500: '#c052ed',
    950: '#000000',
  },
}
SCSS
$custom: #c052ed;
$custom-light: #d78af4;
$custom-dark: #000000;
JSON
{
  "hex": "#c052ed",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 282.581,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64497,
    "c": 0.23342,
    "h": 314.5
  },
  "luminance": 0.23355
}

Semantic roles & 50–950 ramp

primary
#C052ED
secondary
#C2EAB1
accent
#DE0846
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C052ED

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

Preview Lab → · Contrast checker → · Palette generator →

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