#C02EAA#C02EAA

#C02EAA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.221 H 335.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C02EAA
RGBrgb(192, 46, 170)
HSLhsl(309, 61%, 47%)
HSVhsv(309, 76%, 75%)
CMYKcmyk(0%, 76%, 11.5%, 24.7%)
CIE-LABlab(47.06, 68.51, -33.97)
CIE-LCHlch(47.06, 76.47, 333.63°)
OKLaboklab(57.29% 0.2001 -0.0929)
OKLCHoklch(57.29% 0.221 335.1)
XYZxyz(29.9713, 16.0654, 39.5449)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EAA #2EC044
analogous
#8D2EC0 #C02EAA #C02E61
triadic
#C02EAA #AAC02E #2EAAC0
tetradic
#C02EAA #C08D2E #2EC044 #2E61C0
square
#C02EAA #C08D2E #2EC044 #2E61C0
split-complementary
#C02EAA #61C02E #2EC08D
monochromatic
#5D1653 #8F227E #C02EAA #D655C3 #E286D4

Accessibility & contrast

On white

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

On black

4.21
#C02EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02EAA#FFFFFF#000000##FFFFFF
##C02EAA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#CA3B6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02eaa;
/* rgb */ color: rgb(192, 46, 170);
/* oklch */ color: oklch(57.3% 0.221 335.1);
Tailwind
colors: {
  custom: {
    50: '#d777c3',
    500: '#c02eaa',
    950: '#000000',
  },
}
SCSS
$custom: #c02eaa;
$custom-light: #d777c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eaa",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 309.041,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5729,
    "c": 0.2206,
    "h": 335.1
  },
  "luminance": 0.16063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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