#C04FC4#C04FC4

#C04FC4 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.8% C 0.200 H 326.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C04FC4
RGBrgb(192, 79, 196)
HSLhsl(298, 50%, 54%)
HSVhsv(298, 60%, 77%)
CMYKcmyk(2%, 59.7%, 0%, 23.1%)
CIE-LABlab(52.71, 60.48, -40.24)
CIE-LCHlch(52.71, 72.64, 326.36°)
OKLaboklab(61.8% 0.1668 -0.1112)
OKLCHoklch(61.8% 0.2 326.3)
XYZxyz(34.4974, 20.7860, 54.4089)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FC4 #53C44F
analogous
#864FC4 #C04FC4 #C44F8E
triadic
#C04FC4 #C4C04F #4FC4C0
tetradic
#C04FC4 #C4864F #53C44F #4F8EC4
square
#C04FC4 #C4864F #53C44F #4F8EC4
split-complementary
#C04FC4 #8EC44F #4FC486
monochromatic
#702672 #9C36A0 #C04FC4 #D07DD3 #E1ABE3

Accessibility & contrast

On white

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

On black

5.16
#C04FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FC4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FC4#FFFFFF#000000##000000
##C04FC41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C8
Deuteranopia (green-blind)
#6783C1
Tritanopia (blue-blind)
#C55E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04fc4;
/* rgb */ color: rgb(192, 79, 196);
/* oklch */ color: oklch(61.8% 0.200 326.3);
Tailwind
colors: {
  custom: {
    50: '#d687d6',
    500: '#c04fc4',
    950: '#000000',
  },
}
SCSS
$custom: #c04fc4;
$custom-light: #d687d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fc4",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 297.949,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.618,
    "c": 0.20043,
    "h": 326.3
  },
  "luminance": 0.20784
}

Semantic roles & 50–950 ramp

primary
#C04FC4
secondary
#A0D09E
accent
#D94E53
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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