#C428BF#C428BF

#C428BF is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.6% C 0.242 H 329.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C428BF
RGBrgb(196, 40, 191)
HSLhsl(302, 66%, 46%)
HSVhsv(302, 80%, 77%)
CMYKcmyk(0%, 79.6%, 2.6%, 23.1%)
CIE-LABlab(48.28, 74.09, -44.32)
CIE-LCHlch(48.28, 86.33, 329.11°)
OKLaboklab(58.65% 0.2092 -0.1227)
OKLCHoklch(58.65% 0.243 329.6)
XYZxyz(32.9275, 17.0176, 50.8306)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C428BF #28C42D
analogous
#7B28C4 #C428BF #C42871
triadic
#C428BF #BFC428 #28BFC4
tetradic
#C428BF #C47B28 #28C42D #2871C4
square
#C428BF #C47B28 #28C42D #2871C4
split-complementary
#C428BF #71C428 #28C47B
monochromatic
#5E135C #911E8D #C428BF #DB4ED6 #E581E2

Accessibility & contrast

On white

4.77
#C428BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C428BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C428BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C428BF#FFFFFF#000000##FFFFFF
##C428BF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C3
Deuteranopia (green-blind)
#5A7ABB
Tritanopia (blue-blind)
#CB4174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c428bf;
/* rgb */ color: rgb(196, 40, 191);
/* oklch */ color: oklch(58.6% 0.242 329.6);
Tailwind
colors: {
  custom: {
    50: '#da76d3',
    500: '#c428bf',
    950: '#000000',
  },
}
SCSS
$custom: #c428bf;
$custom-light: #da76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c428bf",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 191
  },
  "hsl": {
    "h": 301.923,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58647,
    "c": 0.2425,
    "h": 329.6
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#C428BF
secondary
#7ACE7C
accent
#E9443F
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C428BF

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

Preview Lab → · Contrast checker → · Palette generator →

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