#C04AB4#C04AB4

#C04AB4 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.4% C 0.194 H 331.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C04AB4
RGBrgb(192, 74, 180)
HSLhsl(306, 48%, 52%)
HSVhsv(306, 61%, 75%)
CMYKcmyk(0%, 61.5%, 6.2%, 24.7%)
CIE-LABlab(51.15, 59.91, -33.42)
CIE-LCHlch(51.15, 68.60, 330.85°)
OKLaboklab(60.41% 0.1713 -0.0915)
OKLCHoklch(60.41% 0.194 331.9)
XYZxyz(32.4252, 19.4017, 45.2083)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AB4 #4AC056
analogous
#914AC0 #C04AB4 #C04A79
triadic
#C04AB4 #B4C04A #4AB4C0
tetradic
#C04AB4 #C0914A #4AC056 #4A79C0
square
#C04AB4 #C0914A #4AC056 #4A79C0
split-complementary
#C04AB4 #79C04A #4AC091
monochromatic
#6B2563 #98358E #C04AB4 #D077C7 #E0A5DA

Accessibility & contrast

On white

4.30
#C04AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C04AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AB4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AB4#FFFFFF#000000##000000
##C04AB41.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#456FB7
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#C85578
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04ab4;
/* rgb */ color: rgb(192, 74, 180);
/* oklch */ color: oklch(60.4% 0.194 331.9);
Tailwind
colors: {
  custom: {
    50: '#d684cb',
    500: '#c04ab4',
    950: '#000000',
  },
}
SCSS
$custom: #c04ab4;
$custom-light: #d684cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ab4",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 306.102,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.19426,
    "h": 331.9
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#C04AB4
secondary
#99CD9E
accent
#D85E50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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