#C04FC9#C04FC9

#C04FC9 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.1% C 0.205 H 324.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C04FC9
RGBrgb(192, 79, 201)
HSLhsl(296, 53%, 55%)
HSVhsv(296, 61%, 79%)
CMYKcmyk(4.5%, 60.7%, 0%, 21.2%)
CIE-LABlab(52.97, 61.36, -42.71)
CIE-LCHlch(52.97, 74.76, 325.16°)
OKLaboklab(62.07% 0.1671 -0.1184)
OKLCHoklch(62.07% 0.205 324.7)
XYZxyz(35.0760, 21.0175, 57.4563)
Luminance0.2102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FC9 #58C94F
analogous
#834FC9 #C04FC9 #C94F95
triadic
#C04FC9 #C9C04F #4FC9C0
tetradic
#C04FC9 #C9834F #58C94F #4F95C9
square
#C04FC9 #C9834F #58C94F #4F95C9
split-complementary
#C04FC9 #95C94F #4FC983
monochromatic
#722579 #9F33A7 #C04FC9 #D17ED7 #E2ADE6

Accessibility & contrast

On white

4.04
#C04FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#C04FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FC9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FC9#FFFFFF#000000##000000
##C04FC91.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CD
Deuteranopia (green-blind)
#6483C6
Tritanopia (blue-blind)
#C46085
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04fc9;
/* rgb */ color: rgb(192, 79, 201);
/* oklch */ color: oklch(62.1% 0.205 324.7);
Tailwind
colors: {
  custom: {
    50: '#d687da',
    500: '#c04fc9',
    950: '#000000',
  },
}
SCSS
$custom: #c04fc9;
$custom-light: #d687da;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fc9",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 295.574,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62068,
    "c": 0.20476,
    "h": 324.7
  },
  "luminance": 0.21015
}

Semantic roles & 50–950 ramp

primary
#C04FC9
secondary
#A4D4A0
accent
#DC4B56
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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