#C428C5#C428C5

#C428C5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.0% C 0.247 H 327.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C428C5
RGBrgb(196, 40, 197)
HSLhsl(300, 66%, 46%)
HSVhsv(300, 80%, 77%)
CMYKcmyk(0.5%, 79.7%, 0%, 22.7%)
CIE-LABlab(48.62, 75.01, -47.27)
CIE-LCHlch(48.62, 88.66, 327.78°)
OKLaboklab(59% 0.209 -0.1312)
OKLCHoklch(59% 0.247 327.9)
XYZxyz(33.6014, 17.2871, 54.3795)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C428C5 #29C528
analogous
#7628C5 #C428C5 #C52878
triadic
#C428C5 #C5C428 #28C5C4
tetradic
#C428C5 #C57628 #29C528 #2878C5
square
#C428C5 #C57628 #29C528 #2878C5
split-complementary
#C428C5 #78C528 #28C576
monochromatic
#5F135F #911E92 #C428C5 #DA4FDB #E582E6

Accessibility & contrast

On white

4.71
#C428C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C428C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C428C5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C428C5#FFFFFF#000000##FFFFFF
##C428C51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#CA4578
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c428c5;
/* rgb */ color: rgb(196, 40, 197);
/* oklch */ color: oklch(59.0% 0.247 327.9);
Tailwind
colors: {
  custom: {
    50: '#da76d7',
    500: '#c428c5',
    950: '#000000',
  },
}
SCSS
$custom: #c428c5;
$custom-light: #da76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c428c5",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 299.618,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.24676,
    "h": 327.9
  },
  "luminance": 0.17285
}

Semantic roles & 50–950 ramp

primary
#C428C5
secondary
#7BCE7A
accent
#E93F40
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C428C5

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

Preview Lab → · Contrast checker → · Palette generator →

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