#C04CC5#C04CC5

#C04CC5 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.5% C 0.205 H 326.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C04CC5
RGBrgb(192, 76, 197)
HSLhsl(298, 51%, 54%)
HSVhsv(298, 61%, 77%)
CMYKcmyk(2.5%, 61.4%, 0%, 22.7%)
CIE-LABlab(52.30, 61.94, -41.47)
CIE-LCHlch(52.30, 74.54, 326.20°)
OKLaboklab(61.51% 0.1704 -0.1148)
OKLCHoklch(61.51% 0.205 326)
XYZxyz(34.4000, 20.4087, 54.9399)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CC5 #51C54C
analogous
#834CC5 #C04CC5 #C54C8D
triadic
#C04CC5 #C5C04C #4CC5C0
tetradic
#C04CC5 #C5834C #51C54C #4C8DC5
square
#C04CC5 #C5834C #51C54C #4C8DC5
split-complementary
#C04CC5 #8DC54C #4CC583
monochromatic
#6F2572 #9B34A0 #C04CC5 #D07AD4 #E1A8E3

Accessibility & contrast

On white

4.13
#C04CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C04CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CC5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CC5#FFFFFF#000000##000000
##C04CC51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C9
Deuteranopia (green-blind)
#6482C2
Tritanopia (blue-blind)
#C55D82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04cc5;
/* rgb */ color: rgb(192, 76, 197);
/* oklch */ color: oklch(61.5% 0.205 326.0);
Tailwind
colors: {
  custom: {
    50: '#d685d7',
    500: '#c04cc5',
    950: '#000000',
  },
}
SCSS
$custom: #c04cc5;
$custom-light: #d685d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cc5",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 297.521,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.20547,
    "h": 326
  },
  "luminance": 0.20407
}

Semantic roles & 50–950 ramp

primary
#C04CC5
secondary
#9FD09C
accent
#DB4D53
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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