#C04AAF#C04AAF

#C04AAF is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.2% C 0.190 H 333.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C04AAF
RGBrgb(192, 74, 175)
HSLhsl(309, 48%, 52%)
HSVhsv(309, 61%, 75%)
CMYKcmyk(0%, 61.5%, 8.9%, 24.7%)
CIE-LABlab(50.92, 59.11, -30.87)
CIE-LCHlch(50.92, 66.68, 332.43°)
OKLaboklab(60.17% 0.1707 -0.0842)
OKLCHoklch(60.17% 0.19 333.7)
XYZxyz(31.9250, 19.2016, 42.5740)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AAF #4AC05B
analogous
#964AC0 #C04AAF #C04A74
triadic
#C04AAF #AFC04A #4AAFC0
tetradic
#C04AAF #C0964A #4AC05B #4A74C0
square
#C04AAF #C0964A #4AC05B #4A74C0
split-complementary
#C04AAF #74C04A #4AC096
monochromatic
#6B2561 #98358A #C04AAF #D077C3 #E0A5D7

Accessibility & contrast

On white

4.34
#C04AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#C04AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AAF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AAF#FFFFFF#000000##000000
##C04AAF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#6E7FAC
Tritanopia (blue-blind)
#C85376
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04aaf;
/* rgb */ color: rgb(192, 74, 175);
/* oklch */ color: oklch(60.2% 0.190 333.7);
Tailwind
colors: {
  custom: {
    50: '#d684c7',
    500: '#c04aaf',
    950: '#000000',
  },
}
SCSS
$custom: #c04aaf;
$custom-light: #d684c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04aaf",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 308.644,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60166,
    "c": 0.19034,
    "h": 333.7
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#C04AAF
secondary
#99CDA1
accent
#D86350
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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