#C02EA9#C02EA9

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

Color values

HEX#C02EA9
RGBrgb(192, 46, 169)
HSLhsl(309, 61%, 47%)
HSVhsv(309, 76%, 75%)
CMYKcmyk(0%, 76%, 12%, 24.7%)
CIE-LABlab(47.01, 68.37, -33.46)
CIE-LCHlch(47.01, 76.11, 333.93°)
OKLaboklab(57.24% 0.2 -0.0914)
OKLCHoklch(57.24% 0.22 335.4)
XYZxyz(29.8771, 16.0278, 39.0486)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EA9 #2EC045
analogous
#8E2EC0 #C02EA9 #C02E60
triadic
#C02EA9 #A9C02E #2EA9C0
tetradic
#C02EA9 #C08E2E #2EC045 #2E60C0
square
#C02EA9 #C08E2E #2EC045 #2E60C0
split-complementary
#C02EA9 #60C02E #2EC08E
monochromatic
#5D1652 #8F227E #C02EA9 #D655C2 #E286D4

Accessibility & contrast

On white

4.99
#C02EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C02EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EA9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EA9#FFFFFF#000000##FFFFFF
##C02EA91.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c02ea9;
/* rgb */ color: rgb(192, 46, 169);
/* oklch */ color: oklch(57.2% 0.220 335.4);
Tailwind
colors: {
  custom: {
    50: '#d777c3',
    500: '#c02ea9',
    950: '#000000',
  },
}
SCSS
$custom: #c02ea9;
$custom-light: #d777c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ea9",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 309.452,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57238,
    "c": 0.21992,
    "h": 335.4
  },
  "luminance": 0.16025
}

Semantic roles & 50–950 ramp

primary
#C02EA9
secondary
#7ECC8A
accent
#E45D43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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