#C04DC1#C04DC1

#C04DC1 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.4% C 0.201 H 327.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C04DC1
RGBrgb(192, 77, 193)
HSLhsl(299, 48%, 53%)
HSVhsv(299, 60%, 76%)
CMYKcmyk(0.5%, 60.1%, 0%, 24.3%)
CIE-LABlab(52.25, 60.82, -39.24)
CIE-LCHlch(52.25, 72.38, 327.17°)
OKLaboklab(61.41% 0.169 -0.1083)
OKLCHoklch(61.41% 0.201 327.3)
XYZxyz(34.0172, 20.3666, 52.5812)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DC1 #4EC14D
analogous
#864DC1 #C04DC1 #C14D88
triadic
#C04DC1 #C1C04D #4DC1C0
tetradic
#C04DC1 #C1864D #4EC14D #4D88C1
square
#C04DC1 #C1864D #4EC14D #4D88C1
split-complementary
#C04DC1 #88C14D #4DC186
monochromatic
#6D266D #9A369B #C04DC1 #D07AD1 #E0A8E1

Accessibility & contrast

On white

4.14
#C04DC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C04DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DC1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DC1#FFFFFF#000000##000000
##C04DC11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C5
Deuteranopia (green-blind)
#6782BE
Tritanopia (blue-blind)
#C55C80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04dc1;
/* rgb */ color: rgb(192, 77, 193);
/* oklch */ color: oklch(61.4% 0.201 327.3);
Tailwind
colors: {
  custom: {
    50: '#d686d4',
    500: '#c04dc1',
    950: '#000000',
  },
}
SCSS
$custom: #c04dc1;
$custom-light: #d686d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dc1",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 299.483,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.20069,
    "h": 327.3
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

primary
#C04DC1
secondary
#9CCE9C
accent
#D85051
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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