#C04DCD#C04DCD

#C04DCD is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.1% C 0.211 H 323.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C04DCD
RGBrgb(192, 77, 205)
HSLhsl(294, 56%, 55%)
HSVhsv(294, 62%, 80%)
CMYKcmyk(6.3%, 62.4%, 0%, 19.6%)
CIE-LABlab(52.87, 62.94, -45.16)
CIE-LCHlch(52.87, 77.47, 324.34°)
OKLaboklab(62.06% 0.1696 -0.1255)
OKLCHoklch(62.06% 0.211 323.5)
XYZxyz(35.4105, 20.9240, 59.9193)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DCD #5ACD4D
analogous
#804DCD #C04DCD #CD4D9A
triadic
#C04DCD #CDC04D #4DCDC0
tetradic
#C04DCD #CD804D #5ACD4D #4D9ACD
square
#C04DCD #CD804D #5ACD4D #4D9ACD
split-complementary
#C04DCD #9ACD4D #4DCD80
monochromatic
#73237D #A030AC #C04DCD #D17DDA #E2ADE8

Accessibility & contrast

On white

4.05
#C04DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C04DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DCD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DCD#FFFFFF#000000##000000
##C04DCD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#C36086
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04dcd;
/* rgb */ color: rgb(192, 77, 205);
/* oklch */ color: oklch(62.1% 0.211 323.5);
Tailwind
colors: {
  custom: {
    50: '#d686dd',
    500: '#c04dcd',
    950: '#000000',
  },
}
SCSS
$custom: #c04dcd;
$custom-light: #d686dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dcd",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 293.906,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62061,
    "c": 0.211,
    "h": 323.5
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#C04DCD
secondary
#A6D6A0
accent
#DF4858
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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