#C052F2#C052F2

#C052F2 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.8% C 0.238 H 313.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#C052F2
RGBrgb(192, 82, 242)
HSLhsl(281, 86%, 64%)
HSVhsv(281, 66%, 95%)
CMYKcmyk(20.7%, 66.1%, 0%, 5.1%)
CIE-LABlab(55.74, 67.89, -61.48)
CIE-LCHlch(55.74, 91.59, 317.84°)
OKLaboklab(64.81% 0.1634 -0.1732)
OKLCHoklch(64.81% 0.238 313.3)
XYZxyz(40.7798, 23.6531, 86.4045)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052F2 #84F252
analogous
#7052F2 #C052F2 #F252D4
triadic
#C052F2 #F2C052 #52F2C0
tetradic
#C052F2 #F27052 #84F252 #52D4F2
square
#C052F2 #F27052 #84F252 #52D4F2
split-complementary
#C052F2 #D4F252 #52F270
monochromatic
#850EBC #AB19EE #C052F2 #D58BF6 #E9C4FB

Accessibility & contrast

On white

3.66
#C052F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#C052F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052F2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052F2#FFFFFF#000000##000000
##C052F21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4788EE
Tritanopia (blue-blind)
#BB729C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c052f2;
/* rgb */ color: rgb(192, 82, 242);
/* oklch */ color: oklch(64.8% 0.238 313.3);
Tailwind
colors: {
  custom: {
    50: '#d78af7',
    500: '#c052f2',
    950: '#000000',
  },
}
SCSS
$custom: #c052f2;
$custom-light: #d78af7;
$custom-dark: #000000;
JSON
{
  "hex": "#c052f2",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 281.25,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6481,
    "c": 0.2381,
    "h": 313.3
  },
  "luminance": 0.23652
}

Semantic roles & 50–950 ramp

primary
#C052F2
secondary
#C5ECB4
accent
#E30349
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C052F2

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

Preview Lab → · Contrast checker → · Palette generator →

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