#D431D3#D431D3

#D431D3 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.7% C 0.256 H 328.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D431D3
RGBrgb(212, 49, 211)
HSLhsl(300, 65%, 51%)
HSVhsv(300, 77%, 83%)
CMYKcmyk(0%, 76.9%, 0.5%, 16.9%)
CIE-LABlab(52.84, 77.99, -48.44)
CIE-LCHlch(52.84, 91.81, 328.15°)
OKLaboklab(62.75% 0.2182 -0.1343)
OKLCHoklch(62.75% 0.256 328.4)
XYZxyz(40.0071, 20.8998, 63.5423)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D431D3 #31D432
analogous
#8331D4 #D431D3 #D43181
triadic
#D431D3 #D3D431 #31D3D4
tetradic
#D431D3 #D48331 #31D432 #3181D4
square
#D431D3 #D48331 #31D432 #3181D4
split-complementary
#D431D3 #81D431 #31D483
monochromatic
#731872 #A523A4 #D431D3 #DF64DE #E996E9

Accessibility & contrast

On white

4.05
#D431D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D431D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D431D3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D431D3#FFFFFF#000000##000000
##D431D31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D7
Deuteranopia (green-blind)
#6185CF
Tritanopia (blue-blind)
#DB4C82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d431d3;
/* rgb */ color: rgb(212, 49, 211);
/* oklch */ color: oklch(62.7% 0.256 328.4);
Tailwind
colors: {
  custom: {
    50: '#e67ce1',
    500: '#d431d3',
    950: '#000000',
  },
}
SCSS
$custom: #d431d3;
$custom-light: #e67ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#d431d3",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 211
  },
  "hsl": {
    "h": 300.368,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62748,
    "c": 0.25622,
    "h": 328.4
  },
  "luminance": 0.20897
}

Semantic roles & 50–950 ramp

primary
#D431D3
secondary
#8CD48D
accent
#E8403F
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D431D3

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

Preview Lab → · Contrast checker → · Palette generator →

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