#C02DCA#C02DCA

#C02DCA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.0% C 0.245 H 325.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C02DCA
RGBrgb(192, 45, 202)
HSLhsl(296, 64%, 48%)
HSVhsv(296, 78%, 79%)
CMYKcmyk(5%, 77.7%, 0%, 20.8%)
CIE-LABlab(48.70, 73.74, -50.07)
CIE-LCHlch(48.70, 89.14, 325.82°)
OKLaboklab(59.02% 0.2009 -0.1396)
OKLCHoklch(59.02% 0.245 325.2)
XYZxyz(33.3365, 17.3497, 57.4586)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DCA #37CA2D
analogous
#712DCA #C02DCA #CA2D85
triadic
#C02DCA #CAC02D #2DCAC0
tetradic
#C02DCA #CA712D #37CA2D #2D85CA
square
#C02DCA #CA712D #37CA2D #2D85CA
split-complementary
#C02DCA #85CA2D #2DCA71
monochromatic
#611766 #902298 #C02DCA #D25ADA #E08CE5

Accessibility & contrast

On white

4.70
#C02DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C02DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DCA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DCA#FFFFFF#000000##FFFFFF
##C02DCA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#517AC6
Tritanopia (blue-blind)
#C44B7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c02dca;
/* rgb */ color: rgb(192, 45, 202);
/* oklch */ color: oklch(59.0% 0.245 325.2);
Tailwind
colors: {
  custom: {
    50: '#d778db',
    500: '#c02dca',
    950: '#000000',
  },
}
SCSS
$custom: #c02dca;
$custom-light: #d778db;
$custom-dark: #000000;
JSON
{
  "hex": "#c02dca",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 296.178,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59018,
    "c": 0.24459,
    "h": 325.2
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#C02DCA
secondary
#88CF83
accent
#E7414C
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C02DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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