#C02CAA#C02CAA

#C02CAA is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.223 H 335.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C02CAA
RGBrgb(192, 44, 170)
HSLhsl(309, 63%, 46%)
HSVhsv(309, 77%, 75%)
CMYKcmyk(0%, 77.1%, 11.5%, 24.7%)
CIE-LABlab(46.86, 69.09, -34.28)
CIE-LCHlch(46.86, 77.13, 333.61°)
OKLaboklab(57.15% 0.2018 -0.0938)
OKLCHoklch(57.15% 0.223 335.1)
XYZxyz(29.8950, 15.9128, 39.5194)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CAA #2CC042
analogous
#8C2CC0 #C02CAA #C02C60
triadic
#C02CAA #AAC02C #2CAAC0
tetradic
#C02CAA #C08C2C #2CC042 #2C60C0
square
#C02CAA #C08C2C #2CC042 #2C60C0
split-complementary
#C02CAA #60C02C #2CC08C
monochromatic
#5C1552 #8E217E #C02CAA #D752C3 #E384D5

Accessibility & contrast

On white

5.02
#C02CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C02CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CAA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CAA#FFFFFF#000000##FFFFFF
##C02CAA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#CA3969
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02caa;
/* rgb */ color: rgb(192, 44, 170);
/* oklch */ color: oklch(57.1% 0.223 335.1);
Tailwind
colors: {
  custom: {
    50: '#d776c3',
    500: '#c02caa',
    950: '#000000',
  },
}
SCSS
$custom: #c02caa;
$custom-light: #d776c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02caa",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 308.919,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.22252,
    "h": 335.1
  },
  "luminance": 0.1591
}

Semantic roles & 50–950 ramp

primary
#C02CAA
secondary
#7CCC88
accent
#E65A42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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