#C431B2#C431B2

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

Color values

HEX#C431B2
RGBrgb(196, 49, 178)
HSLhsl(307, 60%, 48%)
HSVhsv(307, 75%, 77%)
CMYKcmyk(0%, 75%, 9.2%, 23.1%)
CIE-LABlab(48.45, 69.68, -36.46)
CIE-LCHlch(48.45, 78.64, 332.38°)
OKLaboklab(58.54% 0.2019 -0.1)
OKLCHoklch(58.54% 0.225 333.7)
XYZxyz(31.8994, 17.1495, 43.7410)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C431B2 #31C443
analogous
#8C31C4 #C431B2 #C43168
triadic
#C431B2 #B2C431 #31B2C4
tetradic
#C431B2 #C48C31 #31C443 #3168C4
square
#C431B2 #C48C31 #31C443 #3168C4
split-complementary
#C431B2 #68C431 #31C48C
monochromatic
#621959 #932586 #C431B2 #D65CC7 #E28DD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C431B2#FFFFFF#000000##FFFFFF
##C431B21.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)
#2C66B5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#CD406F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c431b2;
/* rgb */ color: rgb(196, 49, 178);
/* oklch */ color: oklch(58.5% 0.225 333.7);
Tailwind
colors: {
  custom: {
    50: '#da79c9',
    500: '#c431b2',
    950: '#000000',
  },
}
SCSS
$custom: #c431b2;
$custom-light: #da79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c431b2",
  "rgb": {
    "r": 196,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 307.347,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58544,
    "c": 0.22526,
    "h": 333.7
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

primary
#C431B2
secondary
#84CD8D
accent
#E35845
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C431B2

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

Preview Lab → · Contrast checker → · Palette generator →

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