#C02DC0#C02DC0

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

Color values

HEX#C02DC0
RGBrgb(192, 45, 192)
HSLhsl(300, 62%, 46%)
HSVhsv(300, 77%, 75%)
CMYKcmyk(0%, 76.6%, 0%, 24.7%)
CIE-LABlab(48.12, 72.13, -45.19)
CIE-LCHlch(48.12, 85.12, 327.93°)
OKLaboklab(58.43% 0.2014 -0.1253)
OKLCHoklch(58.43% 0.237 328.1)
XYZxyz(32.1907, 16.8914, 51.4239)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DC0 #2DC02D
analogous
#772DC0 #C02DC0 #C02D77
triadic
#C02DC0 #C0C02D #2DC0C0
tetradic
#C02DC0 #C0772D #2DC02D #2D77C0
square
#C02DC0 #C0772D #2DC02D #2D77C0
split-complementary
#C02DC0 #77C02D #2DC077
monochromatic
#5D165D #8E218E #C02DC0 #D753D7 #E285E2

Accessibility & contrast

On white

4.80
#C02DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C02DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DC0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DC0#FFFFFF#000000##FFFFFF
##C02DC01.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c02dc0;
/* rgb */ color: rgb(192, 45, 192);
/* oklch */ color: oklch(58.4% 0.237 328.1);
Tailwind
colors: {
  custom: {
    50: '#d777d3',
    500: '#c02dc0',
    950: '#000000',
  },
}
SCSS
$custom: #c02dc0;
$custom-light: #d777d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02dc0",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 300,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58425,
    "c": 0.23717,
    "h": 328.1
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#C02DC0
secondary
#7DCC7D
accent
#E54343
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C02DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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