#C04AC1#C04AC1

#C04AC1 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.1% C 0.205 H 327.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C04AC1
RGBrgb(192, 74, 193)
HSLhsl(299, 49%, 52%)
HSVhsv(299, 62%, 76%)
CMYKcmyk(0.5%, 61.7%, 0%, 24.3%)
CIE-LABlab(51.79, 62.09, -39.97)
CIE-LCHlch(51.79, 73.84, 327.23°)
OKLaboklab(61.08% 0.1725 -0.1104)
OKLCHoklch(61.08% 0.205 327.4)
XYZxyz(33.8121, 19.9565, 52.5128)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AC1 #4BC14A
analogous
#854AC1 #C04AC1 #C14A86
triadic
#C04AC1 #C1C04A #4AC1C0
tetradic
#C04AC1 #C1854A #4BC14A #4A86C1
square
#C04AC1 #C1854A #4BC14A #4A86C1
split-complementary
#C04AC1 #86C14A #4AC185
monochromatic
#6B256C #983599 #C04AC1 #D078D1 #E0A5E0

Accessibility & contrast

On white

4.21
#C04AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C04AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AC1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AC1#FFFFFF#000000##000000
##C04AC11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C5
Deuteranopia (green-blind)
#6581BE
Tritanopia (blue-blind)
#C55A7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04ac1;
/* rgb */ color: rgb(192, 74, 193);
/* oklch */ color: oklch(61.1% 0.205 327.4);
Tailwind
colors: {
  custom: {
    50: '#d684d4',
    500: '#c04ac1',
    950: '#000000',
  },
}
SCSS
$custom: #c04ac1;
$custom-light: #d684d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ac1",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 193
  },
  "hsl": {
    "h": 299.496,
    "s": 48.971,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.20483,
    "h": 327.4
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

primary
#C04AC1
secondary
#9ACD99
accent
#D94F50
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C04AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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