#C02DB3#C02DB3

#C02DB3 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.228 H 332.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C02DB3
RGBrgb(192, 45, 179)
HSLhsl(305, 62%, 46%)
HSVhsv(305, 77%, 75%)
CMYKcmyk(0%, 76.6%, 6.8%, 24.7%)
CIE-LABlab(47.42, 70.13, -38.71)
CIE-LCHlch(47.42, 80.10, 331.10°)
OKLaboklab(57.69% 0.2014 -0.1065)
OKLCHoklch(57.69% 0.228 332.1)
XYZxyz(30.8134, 16.3405, 44.1703)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DB3 #2DC03A
analogous
#842DC0 #C02DB3 #C02D6A
triadic
#C02DB3 #B3C02D #2DB3C0
tetradic
#C02DB3 #C0842D #2DC03A #2D6AC0
square
#C02DB3 #C0842D #2DC03A #2D6AC0
split-complementary
#C02DB3 #6AC02D #2DC084
monochromatic
#5D1657 #8E2185 #C02DB3 #D753CB #E285DA

Accessibility & contrast

On white

4.92
#C02DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C02DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DB3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DB3#FFFFFF#000000##FFFFFF
##C02DB31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B7
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#C83F6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02db3;
/* rgb */ color: rgb(192, 45, 179);
/* oklch */ color: oklch(57.7% 0.228 332.1);
Tailwind
colors: {
  custom: {
    50: '#d777ca',
    500: '#c02db3',
    950: '#000000',
  },
}
SCSS
$custom: #c02db3;
$custom-light: #d777ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c02db3",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 305.306,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57695,
    "c": 0.22781,
    "h": 332.1
  },
  "luminance": 0.16338
}

Semantic roles & 50–950 ramp

primary
#C02DB3
secondary
#7DCC84
accent
#E55143
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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