#C04AB2#C04AB2

#C04AB2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.3% C 0.193 H 332.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C04AB2
RGBrgb(192, 74, 178)
HSLhsl(307, 48%, 52%)
HSVhsv(307, 61%, 75%)
CMYKcmyk(0%, 61.5%, 7.3%, 24.7%)
CIE-LABlab(51.06, 59.59, -32.40)
CIE-LCHlch(51.06, 67.83, 331.46°)
OKLaboklab(60.31% 0.1711 -0.0886)
OKLCHoklch(60.31% 0.193 332.6)
XYZxyz(32.2229, 19.3208, 44.1430)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AB2 #4AC058
analogous
#934AC0 #C04AB2 #C04A77
triadic
#C04AB2 #B2C04A #4AB2C0
tetradic
#C04AB2 #C0934A #4AC058 #4A77C0
square
#C04AB2 #C0934A #4AC058 #4A77C0
split-complementary
#C04AB2 #77C04A #4AC093
monochromatic
#6B2562 #98358C #C04AB2 #D077C5 #E0A5D9

Accessibility & contrast

On white

4.32
#C04AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C04AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AB2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AB2#FFFFFF#000000##000000
##C04AB21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#6C80AF
Tritanopia (blue-blind)
#C85477
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04ab2;
/* rgb */ color: rgb(192, 74, 178);
/* oklch */ color: oklch(60.3% 0.193 332.6);
Tailwind
colors: {
  custom: {
    50: '#d684c9',
    500: '#c04ab2',
    950: '#000000',
  },
}
SCSS
$custom: #c04ab2;
$custom-light: #d684c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ab2",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 307.119,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60312,
    "c": 0.19267,
    "h": 332.6
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#C04AB2
secondary
#99CD9F
accent
#D86050
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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