#C02FAA#C02FAA

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

Color values

HEX#C02FAA
RGBrgb(192, 47, 170)
HSLhsl(309, 61%, 47%)
HSVhsv(309, 76%, 75%)
CMYKcmyk(0%, 75.5%, 11.5%, 24.7%)
CIE-LABlab(47.16, 68.22, -33.81)
CIE-LCHlch(47.16, 76.13, 333.64°)
OKLaboklab(57.36% 0.1992 -0.0924)
OKLCHoklch(57.36% 0.22 335.1)
XYZxyz(30.0108, 16.1445, 39.5580)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FAA #2FC045
analogous
#8D2FC0 #C02FAA #C02F62
triadic
#C02FAA #AAC02F #2FAAC0
tetradic
#C02FAA #C08D2F #2FC045 #2F62C0
square
#C02FAA #C08D2F #2FC045 #2F62C0
split-complementary
#C02FAA #62C02F #2FC08D
monochromatic
#5E1753 #8F237E #C02FAA #D656C2 #E288D4

Accessibility & contrast

On white

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

On black

4.23
#C02FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02FAA#FFFFFF#000000##FFFFFF
##C02FAA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#6477A7
Tritanopia (blue-blind)
#CA3C6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02faa;
/* rgb */ color: rgb(192, 47, 170);
/* oklch */ color: oklch(57.4% 0.220 335.1);
Tailwind
colors: {
  custom: {
    50: '#d777c3',
    500: '#c02faa',
    950: '#000000',
  },
}
SCSS
$custom: #c02faa;
$custom-light: #d777c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02faa",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 309.103,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.21962,
    "h": 335.1
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#C02FAA
secondary
#7FCB8B
accent
#E45C44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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