#C04CD8#C04CD8

#C04CD8 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.6% C 0.222 H 320.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C04CD8
RGBrgb(192, 76, 216)
HSLhsl(290, 64%, 57%)
HSVhsv(290, 65%, 85%)
CMYKcmyk(11.1%, 64.8%, 0%, 15.3%)
CIE-LABlab(53.31, 65.38, -50.72)
CIE-LCHlch(53.31, 82.75, 322.20°)
OKLaboklab(62.58% 0.1709 -0.1417)
OKLCHoklch(62.58% 0.222 320.3)
XYZxyz(36.7158, 21.3350, 67.1365)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CD8 #64D84C
analogous
#7A4CD8 #C04CD8 #D84CAA
triadic
#C04CD8 #D8C04C #4CD8C0
tetradic
#C04CD8 #D87A4C #64D84C #4CAAD8
square
#C04CD8 #D87A4C #64D84C #4CAAD8
split-complementary
#C04CD8 #AAD84C #4CD87A
monochromatic
#791E8B #A429BE #C04CD8 #D27EE3 #E3B1EE

Accessibility & contrast

On white

3.99
#C04CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C04CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CD8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CD8#FFFFFF#000000##000000
##C04CD81.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2277DC
Deuteranopia (green-blind)
#5983D5
Tritanopia (blue-blind)
#C1648C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c04cd8;
/* rgb */ color: rgb(192, 76, 216);
/* oklch */ color: oklch(62.6% 0.222 320.3);
Tailwind
colors: {
  custom: {
    50: '#d686e5',
    500: '#c04cd8',
    950: '#000000',
  },
}
SCSS
$custom: #c04cd8;
$custom-light: #d686e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cd8",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 289.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62578,
    "c": 0.22199,
    "h": 320.3
  },
  "luminance": 0.21333
}

Semantic roles & 50–950 ramp

primary
#C04CD8
secondary
#ADDCA4
accent
#E7415D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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