#C431AF#C431AF

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

Color values

HEX#C431AF
RGBrgb(196, 49, 175)
HSLhsl(309, 60%, 48%)
HSVhsv(309, 75%, 77%)
CMYKcmyk(0%, 75%, 10.7%, 23.1%)
CIE-LABlab(48.30, 69.24, -34.93)
CIE-LCHlch(48.30, 77.55, 333.23°)
OKLaboklab(58.39% 0.2017 -0.0956)
OKLCHoklch(58.39% 0.223 334.6)
XYZxyz(31.6015, 17.0303, 42.1720)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C431AF #31C446
analogous
#8F31C4 #C431AF #C43166
triadic
#C431AF #AFC431 #31AFC4
tetradic
#C431AF #C48F31 #31C446 #3166C4
square
#C431AF #C48F31 #31C446 #3166C4
split-complementary
#C431AF #66C431 #31C48F
monochromatic
#621958 #932583 #C431AF #D65CC5 #E28DD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C431AF#FFFFFF#000000##FFFFFF
##C431AF1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#CE3E6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c431af;
/* rgb */ color: rgb(196, 49, 175);
/* oklch */ color: oklch(58.4% 0.223 334.6);
Tailwind
colors: {
  custom: {
    50: '#da78c7',
    500: '#c431af',
    950: '#000000',
  },
}
SCSS
$custom: #c431af;
$custom-light: #da78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c431af",
  "rgb": {
    "r": 196,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 308.571,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58388,
    "c": 0.22318,
    "h": 334.6
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#C431AF
secondary
#84CD8E
accent
#E35B45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C431AF

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

Preview Lab → · Contrast checker → · Palette generator →

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