#C02FA9#C02FA9

#C02FA9 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.219 H 335.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C02FA9
RGBrgb(192, 47, 169)
HSLhsl(310, 61%, 47%)
HSVhsv(310, 76%, 75%)
CMYKcmyk(0%, 75.5%, 12%, 24.7%)
CIE-LABlab(47.11, 68.07, -33.29)
CIE-LCHlch(47.11, 75.78, 333.94°)
OKLaboklab(57.31% 0.1991 -0.0909)
OKLCHoklch(57.31% 0.219 335.5)
XYZxyz(29.9166, 16.1068, 39.0617)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FA9 #2FC046
analogous
#8F2FC0 #C02FA9 #C02F61
triadic
#C02FA9 #A9C02F #2FA9C0
tetradic
#C02FA9 #C08F2F #2FC046 #2F61C0
square
#C02FA9 #C08F2F #2FC046 #2F61C0
split-complementary
#C02FA9 #61C02F #2FC08F
monochromatic
#5E1752 #8F237E #C02FA9 #D656C2 #E288D3

Accessibility & contrast

On white

4.98
#C02FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02FA9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FA9#FFFFFF#000000##FFFFFF
##C02FA91.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#6477A6
Tritanopia (blue-blind)
#CA3B6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02fa9;
/* rgb */ color: rgb(192, 47, 169);
/* oklch */ color: oklch(57.3% 0.219 335.5);
Tailwind
colors: {
  custom: {
    50: '#d777c3',
    500: '#c02fa9',
    950: '#000000',
  },
}
SCSS
$custom: #c02fa9;
$custom-light: #d777c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fa9",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 309.517,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57312,
    "c": 0.21893,
    "h": 335.5
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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