#C04CC8#C04CC8

#C04CC8 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.208 H 325.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C04CC8
RGBrgb(192, 76, 200)
HSLhsl(296, 53%, 54%)
HSVhsv(296, 62%, 78%)
CMYKcmyk(4%, 62%, 0%, 21.6%)
CIE-LABlab(52.45, 62.47, -42.95)
CIE-LCHlch(52.45, 75.81, 325.49°)
OKLaboklab(61.68% 0.1706 -0.119)
OKLCHoklch(61.68% 0.208 325.1)
XYZxyz(34.7472, 20.5475, 56.7682)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CC8 #54C84C
analogous
#824CC8 #C04CC8 #C84C92
triadic
#C04CC8 #C8C04C #4CC8C0
tetradic
#C04CC8 #C8824C #54C84C #4C92C8
square
#C04CC8 #C8824C #54C84C #4C92C8
split-complementary
#C04CC8 #92C84C #4CC882
monochromatic
#702475 #9D32A4 #C04CC8 #D07BD6 #E1AAE5

Accessibility & contrast

On white

4.11
#C04CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C04CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CC8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CC8#FFFFFF#000000##000000
##C04CC81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3774CC
Deuteranopia (green-blind)
#6382C5
Tritanopia (blue-blind)
#C45E83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04cc8;
/* rgb */ color: rgb(192, 76, 200);
/* oklch */ color: oklch(61.7% 0.208 325.1);
Tailwind
colors: {
  custom: {
    50: '#d686d9',
    500: '#c04cc8',
    950: '#000000',
  },
}
SCSS
$custom: #c04cc8;
$custom-light: #d686d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cc8",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 296.129,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.20803,
    "h": 325.1
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#C04CC8
secondary
#A1D29E
accent
#DC4B55
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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