#C04DC7#C04DC7

#C04DC7 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.206 H 325.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C04DC7
RGBrgb(192, 77, 199)
HSLhsl(297, 52%, 54%)
HSVhsv(297, 61%, 78%)
CMYKcmyk(3.5%, 61.3%, 0%, 22%)
CIE-LABlab(52.55, 61.87, -42.22)
CIE-LCHlch(52.55, 74.90, 325.69°)
OKLaboklab(61.73% 0.1694 -0.1169)
OKLCHoklch(61.73% 0.206 325.4)
XYZxyz(34.7001, 20.6398, 56.1779)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DC7 #54C74D
analogous
#834DC7 #C04DC7 #C74D91
triadic
#C04DC7 #C7C04D #4DC7C0
tetradic
#C04DC7 #C7834D #54C74D #4D91C7
square
#C04DC7 #C7834D #54C74D #4D91C7
split-complementary
#C04DC7 #91C74D #4DC783
monochromatic
#702575 #9D33A3 #C04DC7 #D07CD6 #E1AAE4

Accessibility & contrast

On white

4.10
#C04DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C04DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DC7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DC7#FFFFFF#000000##000000
##C04DC71.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#6482C4
Tritanopia (blue-blind)
#C45E83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04dc7;
/* rgb */ color: rgb(192, 77, 199);
/* oklch */ color: oklch(61.7% 0.206 325.4);
Tailwind
colors: {
  custom: {
    50: '#d686d8',
    500: '#c04dc7',
    950: '#000000',
  },
}
SCSS
$custom: #c04dc7;
$custom-light: #d686d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dc7",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 296.557,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61732,
    "c": 0.2058,
    "h": 325.4
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

primary
#C04DC7
secondary
#A1D29E
accent
#DC4C54
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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