#C04DC0#C04DC0

#C04DC0 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.4% C 0.200 H 327.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C04DC0
RGBrgb(192, 77, 192)
HSLhsl(300, 48%, 53%)
HSVhsv(300, 60%, 75%)
CMYKcmyk(0%, 59.9%, 0%, 24.7%)
CIE-LABlab(52.20, 60.65, -38.74)
CIE-LCHlch(52.20, 71.96, 327.43°)
OKLaboklab(61.36% 0.1689 -0.1069)
OKLCHoklch(61.36% 0.2 327.7)
XYZxyz(33.9060, 20.3222, 51.9957)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DC0 #4DC04D
analogous
#864DC0 #C04DC0 #C04D86
triadic
#C04DC0 #C0C04D #4DC0C0
tetradic
#C04DC0 #C0864D #4DC04D #4D86C0
square
#C04DC0 #C0864D #4DC04D #4D86C0
split-complementary
#C04DC0 #86C04D #4DC086
monochromatic
#6C266C #993699 #C04DC0 #D07AD0 #E0A7E0

Accessibility & contrast

On white

4.15
#C04DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C04DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DC0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DC0#FFFFFF#000000##000000
##C04DC01.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C4
Deuteranopia (green-blind)
#6882BD
Tritanopia (blue-blind)
#C65B7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04dc0;
/* rgb */ color: rgb(192, 77, 192);
/* oklch */ color: oklch(61.4% 0.200 327.7);
Tailwind
colors: {
  custom: {
    50: '#d686d3',
    500: '#c04dc0',
    950: '#000000',
  },
}
SCSS
$custom: #c04dc0;
$custom-light: #d686d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dc0",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 300,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61361,
    "c": 0.19985,
    "h": 327.7
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#C04DC0
secondary
#9BCD9B
accent
#D75050
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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