#D438D9#D438D9

#D438D9 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.6% C 0.254 H 326.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D438D9
RGBrgb(212, 56, 217)
HSLhsl(298, 68%, 54%)
HSVhsv(298, 74%, 85%)
CMYKcmyk(2.3%, 74.2%, 0%, 14.9%)
CIE-LABlab(53.85, 76.97, -50.25)
CIE-LCHlch(53.85, 91.92, 326.86°)
OKLaboklab(63.58% 0.2125 -0.1396)
OKLCHoklch(63.58% 0.254 326.7)
XYZxyz(41.0892, 21.8380, 67.6832)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D438D9 #3DD938
analogous
#8338D9 #D438D9 #D9388D
triadic
#D438D9 #D9D438 #38D9D4
tetradic
#D438D9 #D98338 #3DD938 #388DD9
square
#D438D9 #D98338 #3DD938 #388DD9
split-complementary
#D438D9 #8DD938 #38D983
monochromatic
#7B187E #AD22B2 #D438D9 #DF6BE3 #EA9FED

Accessibility & contrast

On white

3.91
#D438D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D438D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D438D9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D438D9#FFFFFF#000000##000000
##D438D91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#6087D5
Tritanopia (blue-blind)
#DA5487
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d438d9;
/* rgb */ color: rgb(212, 56, 217);
/* oklch */ color: oklch(63.6% 0.254 326.7);
Tailwind
colors: {
  custom: {
    50: '#e57fe5',
    500: '#d438d9',
    950: '#000000',
  },
}
SCSS
$custom: #d438d9;
$custom-light: #e57fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#d438d9",
  "rgb": {
    "r": 212,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 298.137,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63578,
    "c": 0.25422,
    "h": 326.7
  },
  "luminance": 0.21835
}

Semantic roles & 50–950 ramp

primary
#D438D9
secondary
#96D994
accent
#EB3D42
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D438D9

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

Preview Lab → · Contrast checker → · Palette generator →

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