#C04FC5#C04FC5

#C04FC5 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.201 H 326.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C04FC5
RGBrgb(192, 79, 197)
HSLhsl(297, 50%, 54%)
HSVhsv(297, 60%, 77%)
CMYKcmyk(2.5%, 59.9%, 0%, 22.7%)
CIE-LABlab(52.76, 60.65, -40.73)
CIE-LCHlch(52.76, 73.06, 326.12°)
OKLaboklab(61.85% 0.1668 -0.1126)
OKLCHoklch(61.85% 0.201 326)
XYZxyz(34.6116, 20.8317, 55.0104)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FC5 #54C54F
analogous
#854FC5 #C04FC5 #C54F8F
triadic
#C04FC5 #C5C04F #4FC5C0
tetradic
#C04FC5 #C5854F #54C54F #4F8FC5
square
#C04FC5 #C5854F #54C54F #4F8FC5
split-complementary
#C04FC5 #8FC54F #4FC585
monochromatic
#702674 #9D35A2 #C04FC5 #D07DD4 #E1ABE3

Accessibility & contrast

On white

4.07
#C04FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C04FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FC5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FC5#FFFFFF#000000##000000
##C04FC51.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C9
Deuteranopia (green-blind)
#6683C2
Tritanopia (blue-blind)
#C55F83
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04fc5;
/* rgb */ color: rgb(192, 79, 197);
/* oklch */ color: oklch(61.9% 0.201 326.0);
Tailwind
colors: {
  custom: {
    50: '#d687d7',
    500: '#c04fc5',
    950: '#000000',
  },
}
SCSS
$custom: #c04fc5;
$custom-light: #d687d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fc5",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 297.458,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.2013,
    "h": 326
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#C04FC5
secondary
#A1D19F
accent
#DA4E54
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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