#C04AC5#C04AC5

#C04AC5 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.3% C 0.208 H 326.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C04AC5
RGBrgb(192, 74, 197)
HSLhsl(298, 51%, 53%)
HSVhsv(298, 62%, 77%)
CMYKcmyk(2.5%, 62.4%, 0%, 22.7%)
CIE-LABlab(51.99, 62.78, -41.95)
CIE-LCHlch(51.99, 75.51, 326.25°)
OKLaboklab(61.29% 0.1728 -0.1161)
OKLCHoklch(61.29% 0.208 326.1)
XYZxyz(34.2644, 20.1374, 54.8946)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AC5 #4FC54A
analogous
#824AC5 #C04AC5 #C54A8C
triadic
#C04AC5 #C5C04A #4AC5C0
tetradic
#C04AC5 #C5824A #4FC54A #4A8CC5
square
#C04AC5 #C5824A #4FC54A #4A8CC5
split-complementary
#C04AC5 #8CC54A #4AC582
monochromatic
#6D2471 #9A339F #C04AC5 #D078D4 #E0A7E3

Accessibility & contrast

On white

4.18
#C04AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C04AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AC5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AC5#FFFFFF#000000##000000
##C04AC51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3772C9
Deuteranopia (green-blind)
#6381C2
Tritanopia (blue-blind)
#C55B81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04ac5;
/* rgb */ color: rgb(192, 74, 197);
/* oklch */ color: oklch(61.3% 0.208 326.1);
Tailwind
colors: {
  custom: {
    50: '#d684d7',
    500: '#c04ac5',
    950: '#000000',
  },
}
SCSS
$custom: #c04ac5;
$custom-light: #d684d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ac5",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 197
  },
  "hsl": {
    "h": 297.561,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.20818,
    "h": 326.1
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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