#C02DAD#C02DAD

#C02DAD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.224 H 334.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C02DAD
RGBrgb(192, 45, 173)
HSLhsl(308, 62%, 46%)
HSVhsv(308, 77%, 75%)
CMYKcmyk(0%, 76.6%, 9.9%, 24.7%)
CIE-LABlab(47.11, 69.24, -35.67)
CIE-LCHlch(47.11, 77.88, 332.75°)
OKLaboklab(57.37% 0.2011 -0.0977)
OKLCHoklch(57.37% 0.224 334.1)
XYZxyz(30.2197, 16.1030, 41.0437)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DAD #2DC040
analogous
#8A2DC0 #C02DAD #C02D64
triadic
#C02DAD #ADC02D #2DADC0
tetradic
#C02DAD #C08A2D #2DC040 #2D64C0
square
#C02DAD #C08A2D #2DC040 #2D64C0
split-complementary
#C02DAD #64C02D #2DC08A
monochromatic
#5D1654 #8E2180 #C02DAD #D753C6 #E285D6

Accessibility & contrast

On white

4.98
#C02DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C02DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DAD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DAD#FFFFFF#000000##FFFFFF
##C02DAD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B0
Deuteranopia (green-blind)
#6277AA
Tritanopia (blue-blind)
#C93C6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02dad;
/* rgb */ color: rgb(192, 45, 173);
/* oklch */ color: oklch(57.4% 0.224 334.1);
Tailwind
colors: {
  custom: {
    50: '#d776c6',
    500: '#c02dad',
    950: '#000000',
  },
}
SCSS
$custom: #c02dad;
$custom-light: #d776c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02dad",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 307.755,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.22363,
    "h": 334.1
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#C02DAD
secondary
#7DCC87
accent
#E55843
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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