#C02CC0#C02CC0

#C02CC0 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.4% C 0.238 H 328.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C02CC0
RGBrgb(192, 44, 192)
HSLhsl(300, 63%, 46%)
HSVhsv(300, 77%, 75%)
CMYKcmyk(0%, 77.1%, 0%, 24.7%)
CIE-LABlab(48.03, 72.41, -45.35)
CIE-LCHlch(48.03, 85.44, 327.94°)
OKLaboklab(58.36% 0.2021 -0.1258)
OKLCHoklch(58.36% 0.238 328.1)
XYZxyz(32.1530, 16.8160, 51.4113)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CC0 #2CC02C
analogous
#762CC0 #C02CC0 #C02C76
triadic
#C02CC0 #C0C02C #2CC0C0
tetradic
#C02CC0 #C0762C #2CC02C #2C76C0
square
#C02CC0 #C0762C #2CC02C #2C76C0
split-complementary
#C02CC0 #76C02C #2CC076
monochromatic
#5C155C #8E218E #C02CC0 #D752D7 #E384E3

Accessibility & contrast

On white

4.81
#C02CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C02CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CC0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CC0#FFFFFF#000000##FFFFFF
##C02CC01.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#5779BC
Tritanopia (blue-blind)
#C64576
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02cc0;
/* rgb */ color: rgb(192, 44, 192);
/* oklch */ color: oklch(58.4% 0.238 328.1);
Tailwind
colors: {
  custom: {
    50: '#d777d3',
    500: '#c02cc0',
    950: '#000000',
  },
}
SCSS
$custom: #c02cc0;
$custom-light: #d777d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cc0",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 300,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.23807,
    "h": 328.1
  },
  "luminance": 0.16814
}

Semantic roles & 50–950 ramp

primary
#C02CC0
secondary
#7CCC7C
accent
#E64242
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C02CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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