#C02AB5#C02AB5

#C02AB5 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.232 H 331.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C02AB5
RGBrgb(192, 42, 181)
HSLhsl(304, 64%, 46%)
HSVhsv(304, 78%, 75%)
CMYKcmyk(0%, 78.1%, 5.7%, 24.7%)
CIE-LABlab(47.24, 71.25, -40.17)
CIE-LCHlch(47.24, 81.80, 330.59°)
OKLaboklab(57.6% 0.2038 -0.1107)
OKLCHoklch(57.6% 0.232 331.5)
XYZxyz(30.9067, 16.2012, 45.2065)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AB5 #2AC035
analogous
#802AC0 #C02AB5 #C02A6A
triadic
#C02AB5 #B5C02A #2AB5C0
tetradic
#C02AB5 #C0802A #2AC035 #2A6AC0
square
#C02AB5 #C0802A #2AC035 #2A6AC0
split-complementary
#C02AB5 #6AC02A #2AC080
monochromatic
#5C1456 #8E1F86 #C02AB5 #D84FCE #E381DC

Accessibility & contrast

On white

4.95
#C02AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C02AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02AB5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AB5#FFFFFF#000000##FFFFFF
##C02AB51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1963B9
Deuteranopia (green-blind)
#5C77B2
Tritanopia (blue-blind)
#C83E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02ab5;
/* rgb */ color: rgb(192, 42, 181);
/* oklch */ color: oklch(57.6% 0.232 331.5);
Tailwind
colors: {
  custom: {
    50: '#d776cb',
    500: '#c02ab5',
    950: '#000000',
  },
}
SCSS
$custom: #c02ab5;
$custom-light: #d776cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ab5",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 304.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.576,
    "c": 0.23195,
    "h": 331.5
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#C02AB5
secondary
#7ACC80
accent
#E74D41
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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