#C04CAF#C04CAF

#C04CAF is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.187 H 333.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C04CAF
RGBrgb(192, 76, 175)
HSLhsl(309, 48%, 53%)
HSVhsv(309, 60%, 75%)
CMYKcmyk(0%, 60.4%, 8.9%, 24.7%)
CIE-LABlab(51.24, 58.25, -30.38)
CIE-LCHlch(51.24, 65.69, 332.46°)
OKLaboklab(60.4% 0.1682 -0.0828)
OKLCHoklch(60.4% 0.187 333.8)
XYZxyz(32.0607, 19.4729, 42.6192)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CAF #4CC05D
analogous
#974CC0 #C04CAF #C04C75
triadic
#C04CAF #AFC04C #4CAFC0
tetradic
#C04CAF #C0974C #4CC05D #4C75C0
square
#C04CAF #C0974C #4CC05D #4C75C0
split-complementary
#C04CAF #75C04C #4CC097
monochromatic
#6C2661 #99368A #C04CAF #D079C3 #E0A7D7

Accessibility & contrast

On white

4.29
#C04CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C04CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CAF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CAF#FFFFFF#000000##000000
##C04CAF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#6F80AC
Tritanopia (blue-blind)
#C85476
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04caf;
/* rgb */ color: rgb(192, 76, 175);
/* oklch */ color: oklch(60.4% 0.187 333.8);
Tailwind
colors: {
  custom: {
    50: '#d685c7',
    500: '#c04caf',
    950: '#000000',
  },
}
SCSS
$custom: #c04caf;
$custom-light: #d685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04caf",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 308.793,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.18748,
    "h": 333.8
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#C04CAF
secondary
#9BCDA2
accent
#D86450
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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