#C02FC9#C02FC9

#C02FC9 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.1% C 0.242 H 325.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C02FC9
RGBrgb(192, 47, 201)
HSLhsl(296, 62%, 49%)
HSVhsv(296, 77%, 79%)
CMYKcmyk(4.5%, 76.6%, 0%, 21.2%)
CIE-LABlab(48.83, 73.02, -49.28)
CIE-LCHlch(48.83, 88.09, 325.99°)
OKLaboklab(59.1% 0.1994 -0.1372)
OKLCHoklch(59.1% 0.242 325.5)
XYZxyz(33.2966, 17.4588, 56.8631)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02FC9 #38C92F
analogous
#732FC9 #C02FC9 #C92F85
triadic
#C02FC9 #C9C02F #2FC9C0
tetradic
#C02FC9 #C9732F #38C92F #2F85C9
square
#C02FC9 #C9732F #38C92F #2F85C9
split-complementary
#C02FC9 #85C92F #2FC973
monochromatic
#611866 #912397 #C02FC9 #D25CD9 #DF8EE5

Accessibility & contrast

On white

4.68
#C02FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C02FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02FC9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02FC9#FFFFFF#000000##FFFFFF
##C02FC91.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#C54C7B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c02fc9;
/* rgb */ color: rgb(192, 47, 201);
/* oklch */ color: oklch(59.1% 0.242 325.5);
Tailwind
colors: {
  custom: {
    50: '#d778da',
    500: '#c02fc9',
    950: '#000000',
  },
}
SCSS
$custom: #c02fc9;
$custom-light: #d778da;
$custom-dark: #000000;
JSON
{
  "hex": "#c02fc9",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 296.494,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.24205,
    "h": 325.5
  },
  "luminance": 0.17457
}

Semantic roles & 50–950 ramp

primary
#C02FC9
secondary
#89CF85
accent
#E5434C
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C02FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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