#D938D5#D938D5

#D938D5 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 64.1% C 0.254 H 329.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D938D5
RGBrgb(217, 56, 213)
HSLhsl(301, 68%, 54%)
HSVhsv(301, 74%, 85%)
CMYKcmyk(0%, 74.2%, 1.8%, 14.9%)
CIE-LABlab(54.44, 77.35, -47.00)
CIE-LCHlch(54.44, 90.51, 328.72°)
OKLaboklab(64.08% 0.2177 -0.13)
OKLCHoklch(64.08% 0.254 329.1)
XYZxyz(42.0393, 22.3874, 65.0449)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938D5 #38D93C
analogous
#8C38D9 #D938D5 #D93884
triadic
#D938D5 #D5D938 #38D5D9
tetradic
#D938D5 #D98C38 #38D93C #3884D9
square
#D938D5 #D98C38 #38D93C #3884D9
split-complementary
#D938D5 #84D938 #38D98C
monochromatic
#7E187C #B222AE #D938D5 #E36BE0 #ED9FEB

Accessibility & contrast

On white

3.83
#D938D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D938D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938D5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938D5#FFFFFF#000000##000000
##D938D51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B75D9
Deuteranopia (green-blind)
#688AD1
Tritanopia (blue-blind)
#E15085
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d938d5;
/* rgb */ color: rgb(217, 56, 213);
/* oklch */ color: oklch(64.1% 0.254 329.1);
Tailwind
colors: {
  custom: {
    50: '#e97fe2',
    500: '#d938d5',
    950: '#000000',
  },
}
SCSS
$custom: #d938d5;
$custom-light: #e97fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#d938d5",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 301.491,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.64076,
    "c": 0.25354,
    "h": 329.1
  },
  "luminance": 0.22384
}

Semantic roles & 50–950 ramp

primary
#D938D5
secondary
#94D996
accent
#EB413D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D938D5

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

Preview Lab → · Contrast checker → · Palette generator →

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