#C04AC0#C04AC0

#C04AC0 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.0% C 0.204 H 327.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C04AC0
RGBrgb(192, 74, 192)
HSLhsl(300, 48%, 52%)
HSVhsv(300, 61%, 75%)
CMYKcmyk(0%, 61.5%, 0%, 24.7%)
CIE-LABlab(51.74, 61.92, -39.47)
CIE-LCHlch(51.74, 73.43, 327.49°)
OKLaboklab(61.03% 0.1725 -0.1089)
OKLCHoklch(61.03% 0.204 327.7)
XYZxyz(33.7009, 19.9120, 51.9273)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AC0 #4AC04A
analogous
#854AC0 #C04AC0 #C04A85
triadic
#C04AC0 #C0C04A #4AC0C0
tetradic
#C04AC0 #C0854A #4AC04A #4A85C0
square
#C04AC0 #C0854A #4AC04A #4A85C0
split-complementary
#C04AC0 #85C04A #4AC085
monochromatic
#6B256B #983598 #C04AC0 #D077D0 #E0A5E0

Accessibility & contrast

On white

4.22
#C04AC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C04AC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AC0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AC0#FFFFFF#000000##000000
##C04AC01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C4
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#C6597E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04ac0;
/* rgb */ color: rgb(192, 74, 192);
/* oklch */ color: oklch(61.0% 0.204 327.7);
Tailwind
colors: {
  custom: {
    50: '#d684d3',
    500: '#c04ac0',
    950: '#000000',
  },
}
SCSS
$custom: #c04ac0;
$custom-light: #d684d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ac0",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 192
  },
  "hsl": {
    "h": 300,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61025,
    "c": 0.204,
    "h": 327.7
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#C04AC0
secondary
#99CD99
accent
#D85050
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C04AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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