#C04DCA#C04DCA

#C04DCA is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.208 H 324.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C04DCA
RGBrgb(192, 77, 202)
HSLhsl(295, 54%, 55%)
HSVhsv(295, 62%, 79%)
CMYKcmyk(5%, 61.9%, 0%, 20.8%)
CIE-LABlab(52.71, 62.40, -43.69)
CIE-LCHlch(52.71, 76.18, 325.00°)
OKLaboklab(61.9% 0.1695 -0.1212)
OKLCHoklch(61.9% 0.208 324.4)
XYZxyz(35.0519, 20.7805, 58.0304)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DCA #57CA4D
analogous
#824DCA #C04DCA #CA4D96
triadic
#C04DCA #CAC04D #4DCAC0
tetradic
#C04DCA #CA824D #57CA4D #4D96CA
square
#C04DCA #CA824D #57CA4D #4D96CA
split-complementary
#C04DCA #96CA4D #4DCA82
monochromatic
#722479 #9E32A8 #C04DCA #D17CD8 #E1ABE6

Accessibility & contrast

On white

4.07
#C04DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C04DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DCA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DCA#FFFFFF#000000##000000
##C04DCA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#6283C7
Tritanopia (blue-blind)
#C45F85
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04dca;
/* rgb */ color: rgb(192, 77, 202);
/* oklch */ color: oklch(61.9% 0.208 324.4);
Tailwind
colors: {
  custom: {
    50: '#d686da',
    500: '#c04dca',
    950: '#000000',
  },
}
SCSS
$custom: #c04dca;
$custom-light: #d686da;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dca",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 295.2,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61896,
    "c": 0.20838,
    "h": 324.4
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#C04DCA
secondary
#A3D49F
accent
#DD4A56
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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