#C02EAC#C02EAC

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

Color values

HEX#C02EAC
RGBrgb(192, 46, 172)
HSLhsl(308, 61%, 47%)
HSVhsv(308, 76%, 75%)
CMYKcmyk(0%, 76%, 10.4%, 24.7%)
CIE-LABlab(47.16, 68.80, -35.00)
CIE-LCHlch(47.16, 77.19, 333.04°)
OKLaboklab(57.39% 0.2002 -0.0958)
OKLCHoklch(57.39% 0.222 334.4)
XYZxyz(30.1619, 16.1417, 40.5489)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EAC #2EC042
analogous
#8B2EC0 #C02EAC #C02E63
triadic
#C02EAC #ACC02E #2EACC0
tetradic
#C02EAC #C08B2E #2EC042 #2E63C0
square
#C02EAC #C08B2E #2EC042 #2E63C0
split-complementary
#C02EAC #63C02E #2EC08B
monochromatic
#5D1654 #8F2280 #C02EAC #D655C5 #E286D6

Accessibility & contrast

On white

4.97
#C02EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C02EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EAC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EAC#FFFFFF#000000##FFFFFF
##C02EAC1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#C93C6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02eac;
/* rgb */ color: rgb(192, 46, 172);
/* oklch */ color: oklch(57.4% 0.222 334.4);
Tailwind
colors: {
  custom: {
    50: '#d777c5',
    500: '#c02eac',
    950: '#000000',
  },
}
SCSS
$custom: #c02eac;
$custom-light: #d777c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eac",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 308.219,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.22197,
    "h": 334.4
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#C02EAC
secondary
#7ECC89
accent
#E45943
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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