#C04EAF#C04EAF

#C04EAF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.6% C 0.185 H 333.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C04EAF
RGBrgb(192, 78, 175)
HSLhsl(309, 48%, 53%)
HSVhsv(309, 59%, 75%)
CMYKcmyk(0%, 59.4%, 8.9%, 24.7%)
CIE-LABlab(51.56, 57.37, -29.88)
CIE-LCHlch(51.56, 64.68, 332.49°)
OKLaboklab(60.63% 0.1656 -0.0814)
OKLCHoklch(60.63% 0.185 333.8)
XYZxyz(32.2006, 19.7528, 42.6658)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EAF #4EC05F
analogous
#984EC0 #C04EAF #C04E76
triadic
#C04EAF #AFC04E #4EAFC0
tetradic
#C04EAF #C0984E #4EC05F #4E76C0
square
#C04EAF #C0984E #4EC05F #4E76C0
split-complementary
#C04EAF #76C04E #4EC098
monochromatic
#6D2762 #9A378B #C04EAF #D07BC3 #E0A8D8

Accessibility & contrast

On white

4.24
#C04EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C04EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EAF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EAF#FFFFFF#000000##000000
##C04EAF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#C85677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04eaf;
/* rgb */ color: rgb(192, 78, 175);
/* oklch */ color: oklch(60.6% 0.185 333.8);
Tailwind
colors: {
  custom: {
    50: '#d686c7',
    500: '#c04eaf',
    950: '#000000',
  },
}
SCSS
$custom: #c04eaf;
$custom-light: #d686c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eaf",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 308.947,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6063,
    "c": 0.18456,
    "h": 333.8
  },
  "luminance": 0.1975
}

Semantic roles & 50–950 ramp

primary
#C04EAF
secondary
#9CCEA4
accent
#D76551
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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