#C431AE#C431AE

#C431AE is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.222 H 335.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C431AE
RGBrgb(196, 49, 174)
HSLhsl(309, 60%, 48%)
HSVhsv(309, 75%, 77%)
CMYKcmyk(0%, 75%, 11.2%, 23.1%)
CIE-LABlab(48.25, 69.09, -34.42)
CIE-LCHlch(48.25, 77.19, 333.52°)
OKLaboklab(58.34% 0.2016 -0.0941)
OKLCHoklch(58.34% 0.222 335)
XYZxyz(31.5036, 16.9912, 41.6566)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C431AE #31C447
analogous
#9131C4 #C431AE #C43164
triadic
#C431AE #AEC431 #31AEC4
tetradic
#C431AE #C49131 #31C447 #3164C4
square
#C431AE #C49131 #31C447 #3164C4
split-complementary
#C431AE #64C431 #31C491
monochromatic
#621957 #932583 #C431AE #D65CC4 #E28DD6

Accessibility & contrast

On white

4.78
#C431AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C431AE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C431AE#FFFFFF#000000##FFFFFF
##C431AE1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#667AAB
Tritanopia (blue-blind)
#CE3E6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c431ae;
/* rgb */ color: rgb(196, 49, 174);
/* oklch */ color: oklch(58.3% 0.222 335.0);
Tailwind
colors: {
  custom: {
    50: '#da78c6',
    500: '#c431ae',
    950: '#000000',
  },
}
SCSS
$custom: #c431ae;
$custom-light: #da78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c431ae",
  "rgb": {
    "r": 196,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 308.98,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58336,
    "c": 0.22249,
    "h": 335
  },
  "luminance": 0.16988
}

Semantic roles & 50–950 ramp

primary
#C431AE
secondary
#84CD8F
accent
#E35C45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C431AE

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

Preview Lab → · Contrast checker → · Palette generator →

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