#C02DB0#C02DB0

#C02DB0 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.226 H 333.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C02DB0
RGBrgb(192, 45, 176)
HSLhsl(307, 62%, 46%)
HSVhsv(307, 77%, 75%)
CMYKcmyk(0%, 76.6%, 8.3%, 24.7%)
CIE-LABlab(47.26, 69.68, -37.19)
CIE-LCHlch(47.26, 78.99, 331.91°)
OKLaboklab(57.53% 0.2013 -0.1022)
OKLCHoklch(57.53% 0.226 333.1)
XYZxyz(30.5133, 16.2205, 42.5897)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DB0 #2DC03D
analogous
#872DC0 #C02DB0 #C02D67
triadic
#C02DB0 #B0C02D #2DB0C0
tetradic
#C02DB0 #C0872D #2DC03D #2D67C0
square
#C02DB0 #C0872D #2DC03D #2D67C0
split-complementary
#C02DB0 #67C02D #2DC087
monochromatic
#5D1655 #8E2183 #C02DB0 #D753C8 #E285D8

Accessibility & contrast

On white

4.95
#C02DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C02DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DB0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DB0#FFFFFF#000000##FFFFFF
##C02DB01.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2663B3
Deuteranopia (green-blind)
#6077AD
Tritanopia (blue-blind)
#C93D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02db0;
/* rgb */ color: rgb(192, 45, 176);
/* oklch */ color: oklch(57.5% 0.226 333.1);
Tailwind
colors: {
  custom: {
    50: '#d776c8',
    500: '#c02db0',
    950: '#000000',
  },
}
SCSS
$custom: #c02db0;
$custom-light: #d776c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02db0",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 306.531,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57533,
    "c": 0.2257,
    "h": 333.1
  },
  "luminance": 0.16218
}

Semantic roles & 50–950 ramp

primary
#C02DB0
secondary
#7DCC86
accent
#E55443
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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