#C04FC2#C04FC2

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

Color values

HEX#C04FC2
RGBrgb(192, 79, 194)
HSLhsl(299, 49%, 54%)
HSVhsv(299, 59%, 76%)
CMYKcmyk(1%, 59.3%, 0%, 23.9%)
CIE-LABlab(52.61, 60.12, -39.24)
CIE-LCHlch(52.61, 71.80, 326.87°)
OKLaboklab(61.7% 0.1666 -0.1083)
OKLCHoklch(61.7% 0.199 327)
XYZxyz(34.2712, 20.6956, 53.2180)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FC2 #51C24F
analogous
#864FC2 #C04FC2 #C24F8A
triadic
#C04FC2 #C2C04F #4FC2C0
tetradic
#C04FC2 #C2864F #51C24F #4F8AC2
square
#C04FC2 #C2864F #51C24F #4F8AC2
split-complementary
#C04FC2 #8AC24F #4FC286
monochromatic
#6F2770 #9B379D #C04FC2 #D07CD2 #E1AAE2

Accessibility & contrast

On white

4.09
#C04FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#C04FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FC2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FC2#FFFFFF#000000##000000
##C04FC21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C6
Deuteranopia (green-blind)
#6883BF
Tritanopia (blue-blind)
#C55E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04fc2;
/* rgb */ color: rgb(192, 79, 194);
/* oklch */ color: oklch(61.7% 0.199 327.0);
Tailwind
colors: {
  custom: {
    50: '#d687d5',
    500: '#c04fc2',
    950: '#000000',
  },
}
SCSS
$custom: #c04fc2;
$custom-light: #d687d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fc2",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 298.957,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.19871,
    "h": 327
  },
  "luminance": 0.20693
}

Semantic roles & 50–950 ramp

primary
#C04FC2
secondary
#9FCF9E
accent
#D85052
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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