#C04FAF#C04FAF

#C04FAF is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.183 H 333.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C04FAF
RGBrgb(192, 79, 175)
HSLhsl(309, 47%, 53%)
HSVhsv(309, 59%, 75%)
CMYKcmyk(0%, 58.9%, 8.9%, 24.7%)
CIE-LABlab(51.72, 56.92, -29.62)
CIE-LCHlch(51.72, 64.17, 332.51°)
OKLaboklab(60.75% 0.1643 -0.0807)
OKLCHoklch(60.75% 0.183 333.8)
XYZxyz(32.2722, 19.8960, 42.6897)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FAF #4FC060
analogous
#994FC0 #C04FAF #C04F76
triadic
#C04FAF #AFC04F #4FAFC0
tetradic
#C04FAF #C0994F #4FC060 #4F76C0
square
#C04FAF #C0994F #4FC060 #4F76C0
split-complementary
#C04FAF #76C04F #4FC099
monochromatic
#6D2763 #9A378C #C04FAF #D07CC3 #E0A9D8

Accessibility & contrast

On white

4.22
#C04FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C04FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FAF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FAF#FFFFFF#000000##000000
##C04FAF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c04faf;
/* rgb */ color: rgb(192, 79, 175);
/* oklch */ color: oklch(60.7% 0.183 333.8);
Tailwind
colors: {
  custom: {
    50: '#d687c7',
    500: '#c04faf',
    950: '#000000',
  },
}
SCSS
$custom: #c04faf;
$custom-light: #d687c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04faf",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 309.027,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60749,
    "c": 0.18309,
    "h": 333.8
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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