#C431E2#C431E2

#C431E2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.4% C 0.261 H 320.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C431E2
RGBrgb(196, 49, 226)
HSLhsl(290, 75%, 54%)
HSVhsv(290, 78%, 89%)
CMYKcmyk(13.3%, 78.3%, 0%, 11.4%)
CIE-LABlab(51.18, 77.44, -59.78)
CIE-LCHlch(51.18, 97.82, 322.33°)
OKLaboklab(61.37% 0.1999 -0.1679)
OKLCHoklch(61.37% 0.261 320)
XYZxyz(37.5890, 19.4254, 73.7063)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C431E2 #4FE231
analogous
#6C31E2 #C431E2 #E231A7
triadic
#C431E2 #E2C431 #31E2C4
tetradic
#C431E2 #E26C31 #4FE231 #31A7E2
square
#C431E2 #E26C31 #4FE231 #31A7E2
split-complementary
#C431E2 #A7E231 #31E26C
monochromatic
#721386 #A01ABB #C431E2 #D367EA #E39CF1

Accessibility & contrast

On white

4.30
#C431E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C431E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C431E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C431E2#FFFFFF#000000##000000
##C431E21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#437FDE
Tritanopia (blue-blind)
#C4588A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c431e2;
/* rgb */ color: rgb(196, 49, 226);
/* oklch */ color: oklch(61.4% 0.261 320.0);
Tailwind
colors: {
  custom: {
    50: '#db7bec',
    500: '#c431e2',
    950: '#000000',
  },
}
SCSS
$custom: #c431e2;
$custom-light: #db7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#c431e2",
  "rgb": {
    "r": 196,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 289.831,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61366,
    "c": 0.26103,
    "h": 320
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#C431E2
secondary
#9EDD92
accent
#F23656
background
#FEF8FE
surface
#FCEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #C431E2

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

Preview Lab → · Contrast checker → · Palette generator →

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