#C04CC4#C04CC4

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

Color values

HEX#C04CC4
RGBrgb(192, 76, 196)
HSLhsl(298, 50%, 53%)
HSVhsv(298, 61%, 77%)
CMYKcmyk(2%, 61.2%, 0%, 23.1%)
CIE-LABlab(52.25, 61.77, -40.98)
CIE-LCHlch(52.25, 74.12, 326.44°)
OKLaboklab(61.46% 0.1704 -0.1133)
OKLCHoklch(61.46% 0.205 326.4)
XYZxyz(34.2858, 20.3630, 54.3384)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CC4 #50C44C
analogous
#844CC4 #C04CC4 #C44C8C
triadic
#C04CC4 #C4C04C #4CC4C0
tetradic
#C04CC4 #C4844C #50C44C #4C8CC4
square
#C04CC4 #C4844C #50C44C #4C8CC4
split-complementary
#C04CC4 #8CC44C #4CC484
monochromatic
#6E2571 #9B349F #C04CC4 #D07AD3 #E0A8E2

Accessibility & contrast

On white

4.14
#C04CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C04CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CC4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CC4#FFFFFF#000000##000000
##C04CC41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B73C8
Deuteranopia (green-blind)
#6582C1
Tritanopia (blue-blind)
#C55C81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04cc4;
/* rgb */ color: rgb(192, 76, 196);
/* oklch */ color: oklch(61.5% 0.205 326.4);
Tailwind
colors: {
  custom: {
    50: '#d685d6',
    500: '#c04cc4',
    950: '#000000',
  },
}
SCSS
$custom: #c04cc4;
$custom-light: #d685d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cc4",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 298,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.20462,
    "h": 326.4
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#C04CC4
secondary
#9ED09C
accent
#DA4E53
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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