#C02AB4#C02AB4

#C02AB4 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.231 H 331.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C02AB4
RGBrgb(192, 42, 180)
HSLhsl(305, 64%, 46%)
HSVhsv(305, 78%, 75%)
CMYKcmyk(0%, 78.1%, 6.2%, 24.7%)
CIE-LABlab(47.18, 71.10, -39.67)
CIE-LCHlch(47.18, 81.42, 330.84°)
OKLaboklab(57.54% 0.2038 -0.1093)
OKLCHoklch(57.54% 0.231 331.8)
XYZxyz(30.8045, 16.1603, 44.6680)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AB4 #2AC036
analogous
#812AC0 #C02AB4 #C02A69
triadic
#C02AB4 #B4C02A #2AB4C0
tetradic
#C02AB4 #C0812A #2AC036 #2A69C0
square
#C02AB4 #C0812A #2AC036 #2A69C0
split-complementary
#C02AB4 #69C02A #2AC081
monochromatic
#5C1456 #8E1F85 #C02AB4 #D84FCD #E381DC

Accessibility & contrast

On white

4.96
#C02AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02AB4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AB4#FFFFFF#000000##FFFFFF
##C02AB41.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B63B8
Deuteranopia (green-blind)
#5D77B1
Tritanopia (blue-blind)
#C83E6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02ab4;
/* rgb */ color: rgb(192, 42, 180);
/* oklch */ color: oklch(57.5% 0.231 331.8);
Tailwind
colors: {
  custom: {
    50: '#d776cb',
    500: '#c02ab4',
    950: '#000000',
  },
}
SCSS
$custom: #c02ab4;
$custom-light: #d776cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ab4",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 304.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57544,
    "c": 0.23124,
    "h": 331.8
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#C02AB4
secondary
#7ACC80
accent
#E74E41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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