#C04CDD#C04CDD

#C04CDD is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.9% C 0.226 H 319.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C04CDD
RGBrgb(192, 76, 221)
HSLhsl(288, 68%, 58%)
HSVhsv(288, 66%, 87%)
CMYKcmyk(13.1%, 65.6%, 0%, 13.3%)
CIE-LABlab(53.60, 66.31, -53.10)
CIE-LCHlch(53.60, 84.96, 321.31°)
OKLaboklab(62.87% 0.1708 -0.1486)
OKLCHoklch(62.87% 0.226 319)
XYZxyz(37.3721, 21.5975, 70.5928)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CDD #69DD4C
analogous
#774CDD #C04CDD #DD4CB1
triadic
#C04CDD #DDC04C #4CDDC0
tetradic
#C04CDD #DD774C #69DD4C #4CB1DD
square
#C04CDD #DD774C #69DD4C #4CB1DD
split-complementary
#C04CDD #B1DD4C #4CDD77
monochromatic
#7B1C93 #A626C6 #C04CDD #D27FE7 #E4B3F1

Accessibility & contrast

On white

3.95
#C04CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#C04CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CDD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CDD#FFFFFF#000000##000000
##C04CDD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1678E1
Deuteranopia (green-blind)
#5584D9
Tritanopia (blue-blind)
#C0668E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c04cdd;
/* rgb */ color: rgb(192, 76, 221);
/* oklch */ color: oklch(62.9% 0.226 319.0);
Tailwind
colors: {
  custom: {
    50: '#d786e8',
    500: '#c04cdd',
    950: '#000000',
  },
}
SCSS
$custom: #c04cdd;
$custom-light: #d786e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cdd",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 288,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62873,
    "c": 0.22644,
    "h": 319
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#C04CDD
secondary
#B1DFA6
accent
#EB3D60
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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