#C04DAD#C04DAD

#C04DAD is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.184 H 334.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C04DAD
RGBrgb(192, 77, 173)
HSLhsl(310, 48%, 53%)
HSVhsv(310, 60%, 75%)
CMYKcmyk(0%, 59.9%, 9.9%, 24.7%)
CIE-LABlab(51.31, 57.49, -29.10)
CIE-LCHlch(51.31, 64.43, 333.15°)
OKLaboklab(60.42% 0.1666 -0.0792)
OKLCHoklch(60.42% 0.184 334.6)
XYZxyz(31.9351, 19.5338, 41.6155)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DAD #4DC060
analogous
#994DC0 #C04DAD #C04D73
triadic
#C04DAD #ADC04D #4DADC0
tetradic
#C04DAD #C0994D #4DC060 #4D73C0
square
#C04DAD #C0994D #4DC060 #4D73C0
split-complementary
#C04DAD #73C04D #4DC099
monochromatic
#6C2661 #993689 #C04DAD #D07AC2 #E0A7D7

Accessibility & contrast

On white

4.28
#C04DAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C04DAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DAD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DAD#FFFFFF#000000##000000
##C04DAD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB0
Deuteranopia (green-blind)
#7080AA
Tritanopia (blue-blind)
#C95476
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04dad;
/* rgb */ color: rgb(192, 77, 173);
/* oklch */ color: oklch(60.4% 0.184 334.6);
Tailwind
colors: {
  custom: {
    50: '#d685c5',
    500: '#c04dad',
    950: '#000000',
  },
}
SCSS
$custom: #c04dad;
$custom-light: #d685c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dad",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 173
  },
  "hsl": {
    "h": 309.913,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60417,
    "c": 0.18447,
    "h": 334.6
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#C04DAD
secondary
#9BCDA4
accent
#D76750
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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