#C02FAD#C02FAD

#C02FAD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.222 H 334.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C02FAD
RGBrgb(192, 47, 173)
HSLhsl(308, 61%, 47%)
HSVhsv(308, 76%, 75%)
CMYKcmyk(0%, 75.5%, 9.9%, 24.7%)
CIE-LABlab(47.31, 68.66, -35.35)
CIE-LCHlch(47.31, 77.22, 332.76°)
OKLaboklab(57.52% 0.1994 -0.0968)
OKLCHoklch(57.52% 0.222 334.1)
XYZxyz(30.2979, 16.2593, 41.0697)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FAD #2FC042
analogous
#8B2FC0 #C02FAD #C02F65
triadic
#C02FAD #ADC02F #2FADC0
tetradic
#C02FAD #C08B2F #2FC042 #2F65C0
square
#C02FAD #C08B2F #2FC042 #2F65C0
split-complementary
#C02FAD #65C02F #2FC08B
monochromatic
#5E1754 #8F2381 #C02FAD #D656C5 #E288D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02FAD#FFFFFF#000000##FFFFFF
##C02FAD1.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)
#2B63B0
Deuteranopia (green-blind)
#6278AA
Tritanopia (blue-blind)
#C93D6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02fad;
/* rgb */ color: rgb(192, 47, 173);
/* oklch */ color: oklch(57.5% 0.222 334.1);
Tailwind
colors: {
  custom: {
    50: '#d777c6',
    500: '#c02fad',
    950: '#000000',
  },
}
SCSS
$custom: #c02fad;
$custom-light: #d777c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fad",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 307.862,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5752,
    "c": 0.22169,
    "h": 334.1
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#C02FAD
secondary
#7FCB89
accent
#E45944
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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