#C02AB7#C02AB7

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

Color values

HEX#C02AB7
RGBrgb(192, 42, 183)
HSLhsl(304, 64%, 46%)
HSVhsv(304, 78%, 75%)
CMYKcmyk(0%, 78.1%, 4.7%, 24.7%)
CIE-LABlab(47.34, 71.56, -41.18)
CIE-LCHlch(47.34, 82.56, 330.08°)
OKLaboklab(57.71% 0.2038 -0.1137)
OKLCHoklch(57.71% 0.233 330.9)
XYZxyz(31.1134, 16.2838, 46.2950)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AB7 #2AC033
analogous
#7E2AC0 #C02AB7 #C02A6C
triadic
#C02AB7 #B7C02A #2AB7C0
tetradic
#C02AB7 #C07E2A #2AC033 #2A6CC0
square
#C02AB7 #C07E2A #2AC033 #2A6CC0
split-complementary
#C02AB7 #6CC02A #2AC07E
monochromatic
#5C1457 #8E1F87 #C02AB7 #D84FD0 #E381DE

Accessibility & contrast

On white

4.93
#C02AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C02AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02AB7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AB7#FFFFFF#000000##FFFFFF
##C02AB71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563BB
Deuteranopia (green-blind)
#5B77B3
Tritanopia (blue-blind)
#C83F70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02ab7;
/* rgb */ color: rgb(192, 42, 183);
/* oklch */ color: oklch(57.7% 0.233 330.9);
Tailwind
colors: {
  custom: {
    50: '#d776cd',
    500: '#c02ab7',
    950: '#000000',
  },
}
SCSS
$custom: #c02ab7;
$custom-light: #d776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ab7",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 303.6,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.23336,
    "h": 330.9
  },
  "luminance": 0.16281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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