#C02AA9#C02AA9

#C02AA9 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.224 H 335.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C02AA9
RGBrgb(192, 42, 169)
HSLhsl(309, 64%, 46%)
HSVhsv(309, 78%, 75%)
CMYKcmyk(0%, 78.1%, 12%, 24.7%)
CIE-LABlab(46.62, 69.50, -34.07)
CIE-LCHlch(46.62, 77.40, 333.88°)
OKLaboklab(56.96% 0.2034 -0.0931)
OKLCHoklch(56.96% 0.224 335.4)
XYZxyz(29.7281, 15.7297, 38.9989)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AA9 #2AC041
analogous
#8C2AC0 #C02AA9 #C02A5E
triadic
#C02AA9 #A9C02A #2AA9C0
tetradic
#C02AA9 #C08C2A #2AC041 #2A5EC0
square
#C02AA9 #C08C2A #2AC041 #2A5EC0
split-complementary
#C02AA9 #5EC02A #2AC08C
monochromatic
#5C1451 #8E1F7D #C02AA9 #D84FC3 #E381D4

Accessibility & contrast

On white

5.07
#C02AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C02AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02AA9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AA9#FFFFFF#000000##FFFFFF
##C02AA91.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AC
Deuteranopia (green-blind)
#6276A6
Tritanopia (blue-blind)
#CA3768
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02aa9;
/* rgb */ color: rgb(192, 42, 169);
/* oklch */ color: oklch(57.0% 0.224 335.4);
Tailwind
colors: {
  custom: {
    50: '#d775c3',
    500: '#c02aa9',
    950: '#000000',
  },
}
SCSS
$custom: #c02aa9;
$custom-light: #d775c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02aa9",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 309.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56956,
    "c": 0.22369,
    "h": 335.4
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#C02AA9
secondary
#7ACC86
accent
#E75A41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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