#C02DB6#C02DB6

#C02DB6 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.230 H 331.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C02DB6
RGBrgb(192, 45, 182)
HSLhsl(304, 62%, 46%)
HSVhsv(304, 77%, 75%)
CMYKcmyk(0%, 76.6%, 5.2%, 24.7%)
CIE-LABlab(47.58, 70.58, -40.22)
CIE-LCHlch(47.58, 81.24, 330.32°)
OKLaboklab(57.86% 0.2014 -0.1109)
OKLCHoklch(57.86% 0.23 331.2)
XYZxyz(31.1201, 16.4632, 45.7856)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DB6 #2DC037
analogous
#812DC0 #C02DB6 #C02D6D
triadic
#C02DB6 #B6C02D #2DB6C0
tetradic
#C02DB6 #C0812D #2DC037 #2D6DC0
square
#C02DB6 #C0812D #2DC037 #2D6DC0
split-complementary
#C02DB6 #6DC02D #2DC081
monochromatic
#5D1658 #8E2187 #C02DB6 #D753CE #E285DC

Accessibility & contrast

On white

4.89
#C02DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C02DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DB6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DB6#FFFFFF#000000##FFFFFF
##C02DB61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D64BA
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#C84170
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02db6;
/* rgb */ color: rgb(192, 45, 182);
/* oklch */ color: oklch(57.9% 0.230 331.2);
Tailwind
colors: {
  custom: {
    50: '#d777cc',
    500: '#c02db6',
    950: '#000000',
  },
}
SCSS
$custom: #c02db6;
$custom-light: #d777cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c02db6",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 304.082,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.22994,
    "h": 331.2
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#C02DB6
secondary
#7DCC82
accent
#E54E43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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