#C02ABA#C02ABA

#C02ABA is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.9% C 0.235 H 329.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C02ABA
RGBrgb(192, 42, 186)
HSLhsl(302, 64%, 46%)
HSVhsv(302, 78%, 75%)
CMYKcmyk(0%, 78.1%, 3.1%, 24.7%)
CIE-LABlab(47.51, 72.01, -42.67)
CIE-LCHlch(47.51, 83.71, 329.35°)
OKLaboklab(57.88% 0.2038 -0.118)
OKLCHoklch(57.88% 0.235 329.9)
XYZxyz(31.4290, 16.4101, 47.9570)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02ABA #2AC030
analogous
#7B2AC0 #C02ABA #C02A6F
triadic
#C02ABA #BAC02A #2ABAC0
tetradic
#C02ABA #C07B2A #2AC030 #2A6FC0
square
#C02ABA #C07B2A #2AC030 #2A6FC0
split-complementary
#C02ABA #6FC02A #2AC07B
monochromatic
#5C1459 #8E1F89 #C02ABA #D84FD3 #E381DF

Accessibility & contrast

On white

4.90
#C02ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C02ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02ABA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02ABA#FFFFFF#000000##FFFFFF
##C02ABA1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D64BE
Deuteranopia (green-blind)
#5A78B6
Tritanopia (blue-blind)
#C74172
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02aba;
/* rgb */ color: rgb(192, 42, 186);
/* oklch */ color: oklch(57.9% 0.235 329.9);
Tailwind
colors: {
  custom: {
    50: '#d776cf',
    500: '#c02aba',
    950: '#000000',
  },
}
SCSS
$custom: #c02aba;
$custom-light: #d776cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c02aba",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 302.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.23549,
    "h": 329.9
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#C02ABA
secondary
#7ACC7D
accent
#E74741
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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