#C02DA9#C02DA9

#C02DA9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.221 H 335.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C02DA9
RGBrgb(192, 45, 169)
HSLhsl(309, 62%, 46%)
HSVhsv(309, 77%, 75%)
CMYKcmyk(0%, 76.6%, 12%, 24.7%)
CIE-LABlab(46.91, 68.66, -33.61)
CIE-LCHlch(46.91, 76.45, 333.91°)
OKLaboklab(57.17% 0.2009 -0.0919)
OKLCHoklch(57.17% 0.221 335.4)
XYZxyz(29.8385, 15.9505, 39.0357)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DA9 #2DC044
analogous
#8E2DC0 #C02DA9 #C02D60
triadic
#C02DA9 #A9C02D #2DA9C0
tetradic
#C02DA9 #C08E2D #2DC044 #2D60C0
square
#C02DA9 #C08E2D #2DC044 #2D60C0
split-complementary
#C02DA9 #60C02D #2DC08E
monochromatic
#5D1652 #8E217D #C02DA9 #D753C2 #E285D4

Accessibility & contrast

On white

5.01
#C02DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C02DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DA9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DA9#FFFFFF#000000##FFFFFF
##C02DA91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D61AC
Deuteranopia (green-blind)
#6377A6
Tritanopia (blue-blind)
#CA3A69
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02da9;
/* rgb */ color: rgb(192, 45, 169);
/* oklch */ color: oklch(57.2% 0.221 335.4);
Tailwind
colors: {
  custom: {
    50: '#d776c3',
    500: '#c02da9',
    950: '#000000',
  },
}
SCSS
$custom: #c02da9;
$custom-light: #d776c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02da9",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 309.388,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.22089,
    "h": 335.4
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#C02DA9
secondary
#7DCC89
accent
#E55C43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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