#C04FC7#C04FC7

#C04FC7 is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 62.0% C 0.203 H 325.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C04FC7
RGBrgb(192, 79, 199)
HSLhsl(297, 52%, 55%)
HSVhsv(297, 60%, 78%)
CMYKcmyk(3.5%, 60.3%, 0%, 22%)
CIE-LABlab(52.87, 61.01, -41.72)
CIE-LCHlch(52.87, 73.91, 325.63°)
OKLaboklab(61.96% 0.167 -0.1155)
OKLCHoklch(61.96% 0.203 325.3)
XYZxyz(34.8422, 20.9240, 56.2253)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FC7 #56C74F
analogous
#844FC7 #C04FC7 #C74F92
triadic
#C04FC7 #C7C04F #4FC7C0
tetradic
#C04FC7 #C7844F #56C74F #4F92C7
square
#C04FC7 #C7844F #56C74F #4F92C7
split-complementary
#C04FC7 #92C74F #4FC784
monochromatic
#712676 #9E34A4 #C04FC7 #D17DD6 #E1ACE5

Accessibility & contrast

On white

4.05
#C04FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C04FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FC7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FC7#FFFFFF#000000##000000
##C04FC71.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CB
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#C46084
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04fc7;
/* rgb */ color: rgb(192, 79, 199);
/* oklch */ color: oklch(62.0% 0.203 325.3);
Tailwind
colors: {
  custom: {
    50: '#d687d8',
    500: '#c04fc7',
    950: '#000000',
  },
}
SCSS
$custom: #c04fc7;
$custom-light: #d687d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fc7",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 296.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.20302,
    "h": 325.3
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#C04FC7
secondary
#A2D2A0
accent
#DB4D55
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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