#C04CD5#C04CD5

#C04CD5 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.4% C 0.219 H 321.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C04CD5
RGBrgb(192, 76, 213)
HSLhsl(291, 62%, 57%)
HSVhsv(291, 64%, 84%)
CMYKcmyk(9.9%, 64.3%, 0%, 16.5%)
CIE-LABlab(53.15, 64.82, -49.28)
CIE-LCHlch(53.15, 81.43, 322.76°)
OKLaboklab(62.4% 0.1709 -0.1375)
OKLCHoklch(62.4% 0.219 321.2)
XYZxyz(36.3316, 21.1813, 65.1126)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CD5 #61D54C
analogous
#7C4CD5 #C04CD5 #D54CA6
triadic
#C04CD5 #D5C04C #4CD5C0
tetradic
#C04CD5 #D57C4C #61D54C #4CA6D5
square
#C04CD5 #D57C4C #61D54C #4CA6D5
split-complementary
#C04CD5 #A6D54C #4CD57C
monochromatic
#772087 #A32BB9 #C04CD5 #D17EE1 #E3AFEC

Accessibility & contrast

On white

4.01
#C04CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#C04CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CD5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CD5#FFFFFF#000000##000000
##C04CD51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2777D9
Deuteranopia (green-blind)
#5B83D2
Tritanopia (blue-blind)
#C2638A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c04cd5;
/* rgb */ color: rgb(192, 76, 213);
/* oklch */ color: oklch(62.4% 0.219 321.2);
Tailwind
colors: {
  custom: {
    50: '#d686e2',
    500: '#c04cd5',
    950: '#000000',
  },
}
SCSS
$custom: #c04cd5;
$custom-light: #d686e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cd5",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 290.803,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62404,
    "c": 0.21935,
    "h": 321.2
  },
  "luminance": 0.21179
}

Semantic roles & 50–950 ramp

primary
#C04CD5
secondary
#ABDAA2
accent
#E5435C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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