#C427C4#C427C4

#C427C4 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.9% C 0.247 H 328.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C427C4
RGBrgb(196, 39, 196)
HSLhsl(300, 67%, 46%)
HSVhsv(300, 80%, 77%)
CMYKcmyk(0%, 80.1%, 0%, 23.1%)
CIE-LABlab(48.48, 75.10, -46.91)
CIE-LCHlch(48.48, 88.54, 328.01°)
OKLaboklab(58.88% 0.2097 -0.1302)
OKLCHoklch(58.88% 0.247 328.2)
XYZxyz(33.4539, 17.1749, 53.7669)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C427C4 #27C427
analogous
#7527C4 #C427C4 #C42775
triadic
#C427C4 #C4C427 #27C4C4
tetradic
#C427C4 #C47527 #27C427 #2775C4
square
#C427C4 #C47527 #27C427 #2775C4
split-complementary
#C427C4 #75C427 #27C475
monochromatic
#5E135E #911D91 #C427C4 #DC4DDC #E680E6

Accessibility & contrast

On white

4.74
#C427C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C427C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C427C4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C427C4#FFFFFF#000000##FFFFFF
##C427C41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#577AC0
Tritanopia (blue-blind)
#CA4477
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c427c4;
/* rgb */ color: rgb(196, 39, 196);
/* oklch */ color: oklch(58.9% 0.247 328.2);
Tailwind
colors: {
  custom: {
    50: '#da76d6',
    500: '#c427c4',
    950: '#000000',
  },
}
SCSS
$custom: #c427c4;
$custom-light: #da76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c427c4",
  "rgb": {
    "r": 196,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 300,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.24682,
    "h": 328.2
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#C427C4
secondary
#79CE79
accent
#EA3E3E
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C427C4

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

Preview Lab → · Contrast checker → · Palette generator →

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