#C02AB3#C02AB3

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

Color values

HEX#C02AB3
RGBrgb(192, 42, 179)
HSLhsl(305, 64%, 46%)
HSVhsv(305, 78%, 75%)
CMYKcmyk(0%, 78.1%, 6.8%, 24.7%)
CIE-LABlab(47.13, 70.95, -39.17)
CIE-LCHlch(47.13, 81.05, 331.10°)
OKLaboklab(57.49% 0.2038 -0.1078)
OKLCHoklch(57.49% 0.231 332.1)
XYZxyz(30.7030, 16.1197, 44.1334)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AB3 #2AC037
analogous
#822AC0 #C02AB3 #C02A68
triadic
#C02AB3 #B3C02A #2AB3C0
tetradic
#C02AB3 #C0822A #2AC037 #2A68C0
square
#C02AB3 #C0822A #2AC037 #2A68C0
split-complementary
#C02AB3 #68C02A #2AC082
monochromatic
#5C1455 #8E1F84 #C02AB3 #D84FCD #E381DB

Accessibility & contrast

On white

4.97
#C02AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C02AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02AB3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AB3#FFFFFF#000000##FFFFFF
##C02AB31.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B7
Deuteranopia (green-blind)
#5E77B0
Tritanopia (blue-blind)
#C83D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02ab3;
/* rgb */ color: rgb(192, 42, 179);
/* oklch */ color: oklch(57.5% 0.231 332.1);
Tailwind
colors: {
  custom: {
    50: '#d775ca',
    500: '#c02ab3',
    950: '#000000',
  },
}
SCSS
$custom: #c02ab3;
$custom-light: #d775ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ab3",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 305.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.23055,
    "h": 332.1
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#C02AB3
secondary
#7ACC81
accent
#E74F41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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