#C02AB8#C02AB8

#C02AB8 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.8% C 0.234 H 330.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C02AB8
RGBrgb(192, 42, 184)
HSLhsl(303, 64%, 46%)
HSVhsv(303, 78%, 75%)
CMYKcmyk(0%, 78.1%, 4.2%, 24.7%)
CIE-LABlab(47.40, 71.71, -41.68)
CIE-LCHlch(47.40, 82.94, 329.83°)
OKLaboklab(57.77% 0.2038 -0.1151)
OKLCHoklch(57.77% 0.234 330.5)
XYZxyz(31.2178, 16.3256, 46.8451)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AB8 #2AC032
analogous
#7D2AC0 #C02AB8 #C02A6D
triadic
#C02AB8 #B8C02A #2AB8C0
tetradic
#C02AB8 #C07D2A #2AC032 #2A6DC0
square
#C02AB8 #C07D2A #2AC032 #2A6DC0
split-complementary
#C02AB8 #6DC02A #2AC07D
monochromatic
#5C1458 #8E1F88 #C02AB8 #D84FD1 #E381DE

Accessibility & contrast

On white

4.92
#C02AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02AB8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AB8#FFFFFF#000000##FFFFFF
##C02AB81.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1364BC
Deuteranopia (green-blind)
#5B77B4
Tritanopia (blue-blind)
#C74071
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02ab8;
/* rgb */ color: rgb(192, 42, 184);
/* oklch */ color: oklch(57.8% 0.234 330.5);
Tailwind
colors: {
  custom: {
    50: '#d776ce',
    500: '#c02ab8',
    950: '#000000',
  },
}
SCSS
$custom: #c02ab8;
$custom-light: #d776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ab8",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 303.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.23406,
    "h": 330.5
  },
  "luminance": 0.16323
}

Semantic roles & 50–950 ramp

primary
#C02AB8
secondary
#7ACC7E
accent
#E74A41
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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