#C428C1#C428C1

#C428C1 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.8% C 0.244 H 329.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C428C1
RGBrgb(196, 40, 193)
HSLhsl(301, 66%, 46%)
HSVhsv(301, 80%, 77%)
CMYKcmyk(0%, 79.6%, 1.5%, 23.1%)
CIE-LABlab(48.39, 74.39, -45.30)
CIE-LCHlch(48.39, 87.10, 328.66°)
OKLaboklab(58.76% 0.2091 -0.1255)
OKLCHoklch(58.76% 0.244 329)
XYZxyz(33.1491, 17.1062, 51.9976)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C428C1 #28C42B
analogous
#7928C4 #C428C1 #C42873
triadic
#C428C1 #C1C428 #28C1C4
tetradic
#C428C1 #C47928 #28C42B #2873C4
square
#C428C1 #C47928 #28C42B #2873C4
split-complementary
#C428C1 #73C428 #28C479
monochromatic
#5E135D #911E8F #C428C1 #DB4ED8 #E581E3

Accessibility & contrast

On white

4.75
#C428C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C428C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C428C1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C428C1#FFFFFF#000000##FFFFFF
##C428C11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#CB4275
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c428c1;
/* rgb */ color: rgb(196, 40, 193);
/* oklch */ color: oklch(58.8% 0.244 329.0);
Tailwind
colors: {
  custom: {
    50: '#da76d4',
    500: '#c428c1',
    950: '#000000',
  },
}
SCSS
$custom: #c428c1;
$custom-light: #da76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c428c1",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 193
  },
  "hsl": {
    "h": 301.154,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.2439,
    "h": 329
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#C428C1
secondary
#7ACE7B
accent
#E9423F
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C428C1

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

Preview Lab → · Contrast checker → · Palette generator →

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