#C02AC9#C02AC9

#C02AC9 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.8% C 0.246 H 325.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C02AC9
RGBrgb(192, 42, 201)
HSLhsl(297, 65%, 48%)
HSVhsv(297, 79%, 79%)
CMYKcmyk(4.5%, 79.1%, 0%, 21.2%)
CIE-LABlab(48.36, 74.38, -50.03)
CIE-LCHlch(48.36, 89.64, 326.07°)
OKLaboklab(58.76% 0.2032 -0.1394)
OKLCHoklch(58.76% 0.246 325.5)
XYZxyz(33.1081, 17.0817, 56.8003)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AC9 #33C92A
analogous
#712AC9 #C02AC9 #C92A82
triadic
#C02AC9 #C9C02A #2AC9C0
tetradic
#C02AC9 #C9712A #33C92A #2A82C9
square
#C02AC9 #C9712A #33C92A #2A82C9
split-complementary
#C02AC9 #82C92A #2AC971
monochromatic
#5F1564 #901F96 #C02AC9 #D455DB #E187E6

Accessibility & contrast

On white

4.76
#C02AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C02AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02AC9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AC9#FFFFFF#000000##FFFFFF
##C02AC91.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#C5497A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c02ac9;
/* rgb */ color: rgb(192, 42, 201);
/* oklch */ color: oklch(58.8% 0.246 325.5);
Tailwind
colors: {
  custom: {
    50: '#d776da',
    500: '#c02ac9',
    950: '#000000',
  },
}
SCSS
$custom: #c02ac9;
$custom-light: #d776da;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ac9",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 296.604,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.24639,
    "h": 325.5
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#C02AC9
secondary
#84D07F
accent
#E83F49
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C02AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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