#C02AB6#C02AB6

#C02AB6 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.7% C 0.233 H 331.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C02AB6
RGBrgb(192, 42, 182)
HSLhsl(304, 64%, 46%)
HSVhsv(304, 78%, 75%)
CMYKcmyk(0%, 78.1%, 5.2%, 24.7%)
CIE-LABlab(47.29, 71.40, -40.67)
CIE-LCHlch(47.29, 82.18, 330.33°)
OKLaboklab(57.66% 0.2038 -0.1122)
OKLCHoklch(57.66% 0.233 331.2)
XYZxyz(31.0097, 16.2424, 45.7488)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AB6 #2AC034
analogous
#7F2AC0 #C02AB6 #C02A6B
triadic
#C02AB6 #B6C02A #2AB6C0
tetradic
#C02AB6 #C07F2A #2AC034 #2A6BC0
square
#C02AB6 #C07F2A #2AC034 #2A6BC0
split-complementary
#C02AB6 #6BC02A #2AC07F
monochromatic
#5C1457 #8E1F86 #C02AB6 #D84FCF #E381DD

Accessibility & contrast

On white

4.94
#C02AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C02AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02AB6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AB6#FFFFFF#000000##FFFFFF
##C02AB61.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1763BA
Deuteranopia (green-blind)
#5C77B3
Tritanopia (blue-blind)
#C83F70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02ab6;
/* rgb */ color: rgb(192, 42, 182);
/* oklch */ color: oklch(57.7% 0.233 331.2);
Tailwind
colors: {
  custom: {
    50: '#d776cc',
    500: '#c02ab6',
    950: '#000000',
  },
}
SCSS
$custom: #c02ab6;
$custom-light: #d776cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ab6",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 304,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57655,
    "c": 0.23264,
    "h": 331.2
  },
  "luminance": 0.1624
}

Semantic roles & 50–950 ramp

primary
#C02AB6
secondary
#7ACC7F
accent
#E74C41
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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