#C428C4#C428C4

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

Color values

HEX#C428C4
RGBrgb(196, 40, 196)
HSLhsl(300, 66%, 46%)
HSVhsv(300, 80%, 77%)
CMYKcmyk(0%, 79.6%, 0%, 23.1%)
CIE-LABlab(48.56, 74.85, -46.78)
CIE-LCHlch(48.56, 88.27, 328.00°)
OKLaboklab(58.94% 0.209 -0.1298)
OKLCHoklch(58.94% 0.246 328.2)
XYZxyz(33.4872, 17.2414, 53.7780)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C428C4 #28C428
analogous
#7628C4 #C428C4 #C42876
triadic
#C428C4 #C4C428 #28C4C4
tetradic
#C428C4 #C47628 #28C428 #2876C4
square
#C428C4 #C47628 #28C428 #2876C4
split-complementary
#C428C4 #76C428 #28C476
monochromatic
#5E135E #911E91 #C428C4 #DB4EDB #E581E5

Accessibility & contrast

On white

4.72
#C428C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C428C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C428C4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C428C4#FFFFFF#000000##FFFFFF
##C428C41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c428c4;
/* rgb */ color: rgb(196, 40, 196);
/* oklch */ color: oklch(58.9% 0.246 328.2);
Tailwind
colors: {
  custom: {
    50: '#da76d6',
    500: '#c428c4',
    950: '#000000',
  },
}
SCSS
$custom: #c428c4;
$custom-light: #da76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c428c4",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 196
  },
  "hsl": {
    "h": 300,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58937,
    "c": 0.24605,
    "h": 328.2
  },
  "luminance": 0.17239
}

Semantic roles & 50–950 ramp

primary
#C428C4
secondary
#7ACE7A
accent
#E93F3F
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C428C4

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

Preview Lab → · Contrast checker → · Palette generator →

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