#D938C7#D938C7

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

Color values

HEX#D938C7
RGBrgb(217, 56, 199)
HSLhsl(307, 68%, 54%)
HSVhsv(307, 74%, 85%)
CMYKcmyk(0%, 74.2%, 8.3%, 14.9%)
CIE-LABlab(53.71, 75.25, -40.13)
CIE-LCHlch(53.71, 85.28, 331.93°)
OKLaboklab(63.33% 0.2173 -0.1101)
OKLCHoklch(63.33% 0.244 333.1)
XYZxyz(40.3385, 21.7070, 56.0871)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938C7 #38D94A
analogous
#9A38D9 #D938C7 #D93876
triadic
#D938C7 #C7D938 #38C7D9
tetradic
#D938C7 #D99A38 #38D94A #3876D9
square
#D938C7 #D99A38 #38D94A #3876D9
split-complementary
#D938C7 #76D938 #38D99A
monochromatic
#7E1873 #B222A2 #D938C7 #E36BD5 #ED9FE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D938C7#FFFFFF#000000##000000
##D938C71.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)
#3172CB
Deuteranopia (green-blind)
#6F88C3
Tritanopia (blue-blind)
#E3497D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d938c7;
/* rgb */ color: rgb(217, 56, 199);
/* oklch */ color: oklch(63.3% 0.244 333.1);
Tailwind
colors: {
  custom: {
    50: '#e97fd8',
    500: '#d938c7',
    950: '#000000',
  },
}
SCSS
$custom: #d938c7;
$custom-light: #e97fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d938c7",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 306.708,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63326,
    "c": 0.24366,
    "h": 333.1
  },
  "luminance": 0.21704
}

Semantic roles & 50–950 ramp

primary
#D938C7
secondary
#94D99C
accent
#EB503D
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #D938C7

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

Preview Lab → · Contrast checker → · Palette generator →

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