#C02DB1#C02DB1

#C02DB1 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.226 H 332.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C02DB1
RGBrgb(192, 45, 177)
HSLhsl(306, 62%, 46%)
HSVhsv(306, 77%, 75%)
CMYKcmyk(0%, 76.6%, 7.8%, 24.7%)
CIE-LABlab(47.31, 69.83, -37.70)
CIE-LCHlch(47.31, 79.36, 331.64°)
OKLaboklab(57.59% 0.2013 -0.1036)
OKLCHoklch(57.59% 0.226 332.8)
XYZxyz(30.6126, 16.2602, 43.1127)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DB1 #2DC03C
analogous
#862DC0 #C02DB1 #C02D68
triadic
#C02DB1 #B1C02D #2DB1C0
tetradic
#C02DB1 #C0862D #2DC03C #2D68C0
square
#C02DB1 #C0862D #2DC03C #2D68C0
split-complementary
#C02DB1 #68C02D #2DC086
monochromatic
#5D1656 #8E2183 #C02DB1 #D753C9 #E285D9

Accessibility & contrast

On white

4.94
#C02DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C02DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DB1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DB1#FFFFFF#000000##FFFFFF
##C02DB11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B4
Deuteranopia (green-blind)
#6077AE
Tritanopia (blue-blind)
#C93E6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02db1;
/* rgb */ color: rgb(192, 45, 177);
/* oklch */ color: oklch(57.6% 0.226 332.8);
Tailwind
colors: {
  custom: {
    50: '#d776c9',
    500: '#c02db1',
    950: '#000000',
  },
}
SCSS
$custom: #c02db1;
$custom-light: #d776c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c02db1",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 306.122,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57587,
    "c": 0.2264,
    "h": 332.8
  },
  "luminance": 0.16258
}

Semantic roles & 50–950 ramp

primary
#C02DB1
secondary
#7DCC85
accent
#E55343
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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