#D938D1#D938D1

#D938D1 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.9% C 0.251 H 330.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D938D1
RGBrgb(217, 56, 209)
HSLhsl(303, 68%, 54%)
HSVhsv(303, 74%, 85%)
CMYKcmyk(0%, 74.2%, 3.7%, 14.9%)
CIE-LABlab(54.22, 76.74, -45.05)
CIE-LCHlch(54.22, 88.99, 329.58°)
OKLaboklab(63.86% 0.2176 -0.1244)
OKLCHoklch(63.86% 0.251 330.3)
XYZxyz(41.5379, 22.1868, 62.4040)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938D1 #38D940
analogous
#9038D9 #D938D1 #D93880
triadic
#D938D1 #D1D938 #38D1D9
tetradic
#D938D1 #D99038 #38D940 #3880D9
square
#D938D1 #D99038 #38D940 #3880D9
split-complementary
#D938D1 #80D938 #38D990
monochromatic
#7E1879 #B222AB #D938D1 #E36BDD #ED9FE9

Accessibility & contrast

On white

3.86
#D938D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D938D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938D1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938D1#FFFFFF#000000##000000
##D938D11.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2374D5
Deuteranopia (green-blind)
#6A89CD
Tritanopia (blue-blind)
#E14E82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d938d1;
/* rgb */ color: rgb(217, 56, 209);
/* oklch */ color: oklch(63.9% 0.251 330.3);
Tailwind
colors: {
  custom: {
    50: '#e97fdf',
    500: '#d938d1',
    950: '#000000',
  },
}
SCSS
$custom: #d938d1;
$custom-light: #e97fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#d938d1",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 302.981,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63857,
    "c": 0.25068,
    "h": 330.3
  },
  "luminance": 0.22184
}

Semantic roles & 50–950 ramp

primary
#D938D1
secondary
#94D997
accent
#EB463D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D938D1

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

Preview Lab → · Contrast checker → · Palette generator →

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