#D938C5#D938C5

#D938C5 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.2% C 0.242 H 333.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D938C5
RGBrgb(217, 56, 197)
HSLhsl(307, 68%, 54%)
HSVhsv(307, 74%, 85%)
CMYKcmyk(0%, 74.2%, 9.2%, 14.9%)
CIE-LABlab(53.62, 74.96, -39.13)
CIE-LCHlch(53.62, 84.56, 332.44°)
OKLaboklab(63.22% 0.2172 -0.1073)
OKLCHoklch(63.22% 0.242 333.7)
XYZxyz(40.1078, 21.6148, 54.8722)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938C5 #38D94C
analogous
#9C38D9 #D938C5 #D93875
triadic
#D938C5 #C5D938 #38C5D9
tetradic
#D938C5 #D99C38 #38D94C #3875D9
square
#D938C5 #D99C38 #38D94C #3875D9
split-complementary
#D938C5 #75D938 #38D99C
monochromatic
#7E1872 #B222A0 #D938C5 #E36BD4 #ED9FE3

Accessibility & contrast

On white

3.95
#D938C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D938C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938C5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938C5#FFFFFF#000000##000000
##D938C51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3371C9
Deuteranopia (green-blind)
#7088C1
Tritanopia (blue-blind)
#E3487C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d938c5;
/* rgb */ color: rgb(217, 56, 197);
/* oklch */ color: oklch(63.2% 0.242 333.7);
Tailwind
colors: {
  custom: {
    50: '#e97fd7',
    500: '#d938c5',
    950: '#000000',
  },
}
SCSS
$custom: #d938c5;
$custom-light: #e97fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#d938c5",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 307.453,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63223,
    "c": 0.24229,
    "h": 333.7
  },
  "luminance": 0.21611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D938C5

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

Preview Lab → · Contrast checker → · Palette generator →

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