#C02DB5#C02DB5

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

Color values

HEX#C02DB5
RGBrgb(192, 45, 181)
HSLhsl(304, 62%, 46%)
HSVhsv(304, 77%, 75%)
CMYKcmyk(0%, 76.6%, 5.7%, 24.7%)
CIE-LABlab(47.52, 70.43, -39.72)
CIE-LCHlch(47.52, 80.86, 330.58°)
OKLaboklab(57.8% 0.2014 -0.1095)
OKLCHoklch(57.8% 0.229 331.5)
XYZxyz(31.0171, 16.4220, 45.2433)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DB5 #2DC038
analogous
#822DC0 #C02DB5 #C02D6C
triadic
#C02DB5 #B5C02D #2DB5C0
tetradic
#C02DB5 #C0822D #2DC038 #2D6CC0
square
#C02DB5 #C0822D #2DC038 #2D6CC0
split-complementary
#C02DB5 #6CC02D #2DC082
monochromatic
#5D1658 #8E2186 #C02DB5 #D753CD #E285DB

Accessibility & contrast

On white

4.90
#C02DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02DB5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DB5#FFFFFF#000000##FFFFFF
##C02DB51.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E64B9
Deuteranopia (green-blind)
#5E78B2
Tritanopia (blue-blind)
#C84070
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02db5;
/* rgb */ color: rgb(192, 45, 181);
/* oklch */ color: oklch(57.8% 0.229 331.5);
Tailwind
colors: {
  custom: {
    50: '#d777cb',
    500: '#c02db5',
    950: '#000000',
  },
}
SCSS
$custom: #c02db5;
$custom-light: #d777cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02db5",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 304.49,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.22923,
    "h": 331.5
  },
  "luminance": 0.16419
}

Semantic roles & 50–950 ramp

primary
#C02DB5
secondary
#7DCC83
accent
#E54F43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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