#C02DB4#C02DB4

#C02DB4 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.229 H 331.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C02DB4
RGBrgb(192, 45, 180)
HSLhsl(305, 62%, 46%)
HSVhsv(305, 77%, 75%)
CMYKcmyk(0%, 76.6%, 6.2%, 24.7%)
CIE-LABlab(47.47, 70.28, -39.22)
CIE-LCHlch(47.47, 80.48, 330.84°)
OKLaboklab(57.75% 0.2014 -0.108)
OKLCHoklch(57.75% 0.229 331.8)
XYZxyz(30.9149, 16.3811, 44.7048)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DB4 #2DC039
analogous
#832DC0 #C02DB4 #C02D6B
triadic
#C02DB4 #B4C02D #2DB4C0
tetradic
#C02DB4 #C0832D #2DC039 #2D6BC0
square
#C02DB4 #C0832D #2DC039 #2D6BC0
split-complementary
#C02DB4 #6BC02D #2DC083
monochromatic
#5D1657 #8E2186 #C02DB4 #D753CC #E285DB

Accessibility & contrast

On white

4.91
#C02DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C02DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DB4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DB4#FFFFFF#000000##FFFFFF
##C02DB41.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2064B8
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#C83F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02db4;
/* rgb */ color: rgb(192, 45, 180);
/* oklch */ color: oklch(57.7% 0.229 331.8);
Tailwind
colors: {
  custom: {
    50: '#d777cb',
    500: '#c02db4',
    950: '#000000',
  },
}
SCSS
$custom: #c02db4;
$custom-light: #d777cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02db4",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 304.898,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.22852,
    "h": 331.8
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#C02DB4
secondary
#7DCC83
accent
#E55043
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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