#C04FC3#C04FC3

#C04FC3 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.7% C 0.200 H 326.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C04FC3
RGBrgb(192, 79, 195)
HSLhsl(298, 49%, 54%)
HSVhsv(298, 59%, 76%)
CMYKcmyk(1.5%, 59.5%, 0%, 23.5%)
CIE-LABlab(52.66, 60.30, -39.74)
CIE-LCHlch(52.66, 72.22, 326.61°)
OKLaboklab(61.75% 0.1667 -0.1098)
OKLCHoklch(61.75% 0.2 326.6)
XYZxyz(34.3839, 20.7407, 53.8115)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FC3 #52C34F
analogous
#864FC3 #C04FC3 #C34F8C
triadic
#C04FC3 #C3C04F #4FC3C0
tetradic
#C04FC3 #C3864F #52C34F #4F8CC3
square
#C04FC3 #C3864F #52C34F #4F8CC3
split-complementary
#C04FC3 #8CC34F #4FC386
monochromatic
#6F2771 #9C369F #C04FC3 #D07DD3 #E1AAE2

Accessibility & contrast

On white

4.08
#C04FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C04FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FC3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FC3#FFFFFF#000000##000000
##C04FC31.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C7
Deuteranopia (green-blind)
#6783C0
Tritanopia (blue-blind)
#C55E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04fc3;
/* rgb */ color: rgb(192, 79, 195);
/* oklch */ color: oklch(61.7% 0.200 326.6);
Tailwind
colors: {
  custom: {
    50: '#d687d5',
    500: '#c04fc3',
    950: '#000000',
  },
}
SCSS
$custom: #c04fc3;
$custom-light: #d687d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fc3",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 298.448,
    "s": 49.153,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61748,
    "c": 0.19957,
    "h": 326.6
  },
  "luminance": 0.20739
}

Semantic roles & 50–950 ramp

primary
#C04FC3
secondary
#9FD09E
accent
#D94F53
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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