#C04CD4#C04CD4

#C04CD4 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.3% C 0.218 H 321.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C04CD4
RGBrgb(192, 76, 212)
HSLhsl(291, 61%, 56%)
HSVhsv(291, 64%, 83%)
CMYKcmyk(9.4%, 64.2%, 0%, 16.9%)
CIE-LABlab(53.09, 64.64, -48.80)
CIE-LCHlch(53.09, 80.99, 322.95°)
OKLaboklab(62.35% 0.1709 -0.136)
OKLCHoklch(62.35% 0.218 321.5)
XYZxyz(36.2050, 21.1307, 64.4462)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CD4 #60D44C
analogous
#7C4CD4 #C04CD4 #D44CA4
triadic
#C04CD4 #D4C04C #4CD4C0
tetradic
#C04CD4 #D47C4C #60D44C #4CA4D4
square
#C04CD4 #D47C4C #60D44C #4CA4D4
split-complementary
#C04CD4 #A4D44C #4CD47C
monochromatic
#772086 #A22CB7 #C04CD4 #D17DE0 #E3AFEC

Accessibility & contrast

On white

4.02
#C04CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C04CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CD4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CD4#FFFFFF#000000##000000
##C04CD41.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2876D8
Deuteranopia (green-blind)
#5B83D1
Tritanopia (blue-blind)
#C2628A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c04cd4;
/* rgb */ color: rgb(192, 76, 212);
/* oklch */ color: oklch(62.3% 0.218 321.5);
Tailwind
colors: {
  custom: {
    50: '#d686e2',
    500: '#c04cd4',
    950: '#000000',
  },
}
SCSS
$custom: #c04cd4;
$custom-light: #d686e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cd4",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 291.176,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62347,
    "c": 0.21846,
    "h": 321.5
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

primary
#C04CD4
secondary
#AADAA2
accent
#E4435B
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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