#C428C2#C428C2

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

Color values

HEX#C428C2
RGBrgb(196, 40, 194)
HSLhsl(301, 66%, 46%)
HSVhsv(301, 80%, 77%)
CMYKcmyk(0%, 79.6%, 1%, 23.1%)
CIE-LABlab(48.45, 74.55, -45.80)
CIE-LCHlch(48.45, 87.49, 328.44°)
OKLaboklab(58.82% 0.2091 -0.127)
OKLCHoklch(58.82% 0.245 328.7)
XYZxyz(33.2610, 17.1510, 52.5871)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C428C2 #28C42A
analogous
#7828C4 #C428C2 #C42874
triadic
#C428C2 #C2C428 #28C2C4
tetradic
#C428C2 #C47828 #28C42A #2874C4
square
#C428C2 #C47828 #28C42A #2874C4
split-complementary
#C428C2 #74C428 #28C478
monochromatic
#5E135D #911E90 #C428C2 #DB4ED9 #E581E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C428C2#FFFFFF#000000##FFFFFF
##C428C21.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)
#0066C6
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#CB4376
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c428c2;
/* rgb */ color: rgb(196, 40, 194);
/* oklch */ color: oklch(58.8% 0.245 328.7);
Tailwind
colors: {
  custom: {
    50: '#da76d5',
    500: '#c428c2',
    950: '#000000',
  },
}
SCSS
$custom: #c428c2;
$custom-light: #da76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c428c2",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 194
  },
  "hsl": {
    "h": 300.769,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5882,
    "c": 0.24462,
    "h": 328.7
  },
  "luminance": 0.17148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C428C2

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

Preview Lab → · Contrast checker → · Palette generator →

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