#C427C1#C427C1

#C427C1 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.7% C 0.245 H 329.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C427C1
RGBrgb(196, 39, 193)
HSLhsl(301, 67%, 46%)
HSVhsv(301, 80%, 77%)
CMYKcmyk(0%, 80.1%, 1.5%, 23.1%)
CIE-LABlab(48.31, 74.63, -45.44)
CIE-LCHlch(48.31, 87.38, 328.67°)
OKLaboklab(58.7% 0.2098 -0.1259)
OKLCHoklch(58.7% 0.245 329)
XYZxyz(33.1158, 17.0397, 51.9866)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C427C1 #27C42A
analogous
#7827C4 #C427C1 #C42773
triadic
#C427C1 #C1C427 #27C1C4
tetradic
#C427C1 #C47827 #27C42A #2773C4
square
#C427C1 #C47827 #27C42A #2773C4
split-complementary
#C427C1 #73C427 #27C478
monochromatic
#5E135C #911D8F #C427C1 #DC4DD9 #E680E4

Accessibility & contrast

On white

4.76
#C427C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C427C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C427C1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C427C1#FFFFFF#000000##FFFFFF
##C427C11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c427c1;
/* rgb */ color: rgb(196, 39, 193);
/* oklch */ color: oklch(58.7% 0.245 329.0);
Tailwind
colors: {
  custom: {
    50: '#da76d4',
    500: '#c427c1',
    950: '#000000',
  },
}
SCSS
$custom: #c427c1;
$custom-light: #da76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c427c1",
  "rgb": {
    "r": 196,
    "g": 39,
    "b": 193
  },
  "hsl": {
    "h": 301.146,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.2447,
    "h": 329
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#C427C1
secondary
#79CE7A
accent
#EA413E
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C427C1

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

Preview Lab → · Contrast checker → · Palette generator →

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