#C04DD7#C04DD7

#C04DD7 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.6% C 0.220 H 320.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C04DD7
RGBrgb(192, 77, 215)
HSLhsl(290, 63%, 57%)
HSVhsv(290, 64%, 84%)
CMYKcmyk(10.7%, 64.2%, 0%, 15.7%)
CIE-LABlab(53.41, 64.77, -50.00)
CIE-LCHlch(53.41, 81.83, 322.33°)
OKLaboklab(62.63% 0.1698 -0.1396)
OKLCHoklch(62.63% 0.22 320.6)
XYZxyz(36.6564, 21.4223, 66.4809)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DD7 #64D74D
analogous
#7B4DD7 #C04DD7 #D74DA9
triadic
#C04DD7 #D7C04D #4DD7C0
tetradic
#C04DD7 #D77B4D #64D74D #4DA9D7
square
#C04DD7 #D77B4D #64D74D #4DA9D7
split-complementary
#C04DD7 #A9D74D #4DD77B
monochromatic
#791F8A #A42ABC #C04DD7 #D27FE2 #E3B1ED

Accessibility & contrast

On white

3.97
#C04DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#C04DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DD7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DD7#FFFFFF#000000##000000
##C04DD71.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2677DB
Deuteranopia (green-blind)
#5A84D4
Tritanopia (blue-blind)
#C1648C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04dd7;
/* rgb */ color: rgb(192, 77, 215);
/* oklch */ color: oklch(62.6% 0.220 320.6);
Tailwind
colors: {
  custom: {
    50: '#d687e4',
    500: '#c04dd7',
    950: '#000000',
  },
}
SCSS
$custom: #c04dd7;
$custom-light: #d687e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dd7",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 290,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62628,
    "c": 0.21981,
    "h": 320.6
  },
  "luminance": 0.21421
}

Semantic roles & 50–950 ramp

primary
#C04DD7
secondary
#ADDCA4
accent
#E6415D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C04DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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