#D431E2#D431E2

#D431E2 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.6% C 0.267 H 324.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D431E2
RGBrgb(212, 49, 226)
HSLhsl(295, 75%, 54%)
HSVhsv(295, 78%, 89%)
CMYKcmyk(6.2%, 78.3%, 0%, 11.4%)
CIE-LABlab(53.69, 80.36, -55.61)
CIE-LCHlch(53.69, 97.73, 325.32°)
OKLaboklab(63.63% 0.2174 -0.1552)
OKLCHoklch(63.63% 0.267 324.5)
XYZxyz(41.9760, 21.6874, 73.9119)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D431E2 #3FE231
analogous
#7C31E2 #D431E2 #E23198
triadic
#D431E2 #E2D431 #31E2D4
tetradic
#D431E2 #E27C31 #3FE231 #3198E2
square
#D431E2 #E27C31 #3FE231 #3198E2
split-complementary
#D431E2 #98E231 #31E27C
monochromatic
#7D1386 #AF1ABB #D431E2 #DF67EA #EA9CF1

Accessibility & contrast

On white

3.93
#D431E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D431E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D431E2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D431E2#FFFFFF#000000##000000
##D431E21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#D8548A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d431e2;
/* rgb */ color: rgb(212, 49, 226);
/* oklch */ color: oklch(63.6% 0.267 324.5);
Tailwind
colors: {
  custom: {
    50: '#e67dec',
    500: '#d431e2',
    950: '#000000',
  },
}
SCSS
$custom: #d431e2;
$custom-light: #e67dec;
$custom-dark: #000000;
JSON
{
  "hex": "#d431e2",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 295.254,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63628,
    "c": 0.26709,
    "h": 324.5
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#D431E2
secondary
#98DD92
accent
#F23645
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D431E2

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

Preview Lab → · Contrast checker → · Palette generator →

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