#C04DC2#C04DC2

#C04DC2 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.5% C 0.202 H 327.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C04DC2
RGBrgb(192, 77, 194)
HSLhsl(299, 49%, 53%)
HSVhsv(299, 60%, 76%)
CMYKcmyk(1%, 60.3%, 0%, 23.9%)
CIE-LABlab(52.30, 60.99, -39.74)
CIE-LCHlch(52.30, 72.79, 326.91°)
OKLaboklab(61.47% 0.169 -0.1097)
OKLCHoklch(61.47% 0.202 327)
XYZxyz(34.1291, 20.4114, 53.1706)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DC2 #4FC24D
analogous
#854DC2 #C04DC2 #C24D8A
triadic
#C04DC2 #C2C04D #4DC2C0
tetradic
#C04DC2 #C2854D #4FC24D #4D8AC2
square
#C04DC2 #C2854D #4FC24D #4D8AC2
split-complementary
#C04DC2 #8AC24D #4DC285
monochromatic
#6D266F #9A369C #C04DC2 #D07BD2 #E0A8E1

Accessibility & contrast

On white

4.13
#C04DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C04DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DC2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DC2#FFFFFF#000000##000000
##C04DC21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C6
Deuteranopia (green-blind)
#6782BF
Tritanopia (blue-blind)
#C55C81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04dc2;
/* rgb */ color: rgb(192, 77, 194);
/* oklch */ color: oklch(61.5% 0.202 327.0);
Tailwind
colors: {
  custom: {
    50: '#d686d5',
    500: '#c04dc2',
    950: '#000000',
  },
}
SCSS
$custom: #c04dc2;
$custom-light: #d686d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dc2",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 298.974,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.20153,
    "h": 327
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#C04DC2
secondary
#9DCF9C
accent
#D94F52
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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