#C04DC3#C04DC3

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

Color values

HEX#C04DC3
RGBrgb(192, 77, 195)
HSLhsl(298, 50%, 53%)
HSVhsv(298, 61%, 76%)
CMYKcmyk(1.5%, 60.5%, 0%, 23.5%)
CIE-LABlab(52.35, 61.17, -40.24)
CIE-LCHlch(52.35, 73.21, 326.66°)
OKLaboklab(61.52% 0.1691 -0.1112)
OKLCHoklch(61.52% 0.202 326.7)
XYZxyz(34.2418, 20.4565, 53.7641)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DC3 #50C34D
analogous
#854DC3 #C04DC3 #C34D8B
triadic
#C04DC3 #C3C04D #4DC3C0
tetradic
#C04DC3 #C3854D #50C34D #4D8BC3
square
#C04DC3 #C3854D #50C34D #4D8BC3
split-complementary
#C04DC3 #8BC34D #4DC385
monochromatic
#6E2670 #9B359E #C04DC3 #D07BD2 #E0A9E2

Accessibility & contrast

On white

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

On black

5.09
#C04DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DC3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DC3#FFFFFF#000000##000000
##C04DC31.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C7
Deuteranopia (green-blind)
#6682C0
Tritanopia (blue-blind)
#C55D81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04dc3;
/* rgb */ color: rgb(192, 77, 195);
/* oklch */ color: oklch(61.5% 0.202 326.7);
Tailwind
colors: {
  custom: {
    50: '#d686d5',
    500: '#c04dc3',
    950: '#000000',
  },
}
SCSS
$custom: #c04dc3;
$custom-light: #d686d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dc3",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 298.475,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.20238,
    "h": 326.7
  },
  "luminance": 0.20454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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