#C02CCA#C02CCA

#C02CCA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.0% C 0.245 H 325.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C02CCA
RGBrgb(192, 44, 202)
HSLhsl(296, 64%, 48%)
HSVhsv(296, 78%, 79%)
CMYKcmyk(5%, 78.2%, 0%, 20.8%)
CIE-LABlab(48.60, 74.01, -50.22)
CIE-LCHlch(48.60, 89.45, 325.84°)
OKLaboklab(58.95% 0.2016 -0.14)
OKLCHoklch(58.95% 0.245 325.2)
XYZxyz(33.2988, 17.2743, 57.4461)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CCA #36CA2C
analogous
#712CCA #C02CCA #CA2C85
triadic
#C02CCA #CAC02C #2CCAC0
tetradic
#C02CCA #CA712C #36CA2C #2C85CA
square
#C02CCA #CA712C #36CA2C #2C85CA
split-complementary
#C02CCA #85CA2C #2CCA71
monochromatic
#601665 #902198 #C02CCA #D258DB #E08BE6

Accessibility & contrast

On white

4.71
#C02CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C02CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CCA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CCA#FFFFFF#000000##FFFFFF
##C02CCA1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#C44A7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c02cca;
/* rgb */ color: rgb(192, 44, 202);
/* oklch */ color: oklch(59.0% 0.245 325.2);
Tailwind
colors: {
  custom: {
    50: '#d777db',
    500: '#c02cca',
    950: '#000000',
  },
}
SCSS
$custom: #c02cca;
$custom-light: #d777db;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cca",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 296.203,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58952,
    "c": 0.24545,
    "h": 325.2
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#C02CCA
secondary
#87D082
accent
#E7414B
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C02CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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