#D938C6#D938C6

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

Color values

HEX#D938C6
RGBrgb(217, 56, 198)
HSLhsl(307, 68%, 54%)
HSVhsv(307, 74%, 85%)
CMYKcmyk(0%, 74.2%, 8.8%, 14.9%)
CIE-LABlab(53.67, 75.11, -39.63)
CIE-LCHlch(53.67, 84.92, 332.18°)
OKLaboklab(63.28% 0.2173 -0.1087)
OKLCHoklch(63.28% 0.243 333.4)
XYZxyz(40.2228, 21.6607, 55.4777)
Luminance0.2166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938C6 #38D94B
analogous
#9B38D9 #D938C6 #D93875
triadic
#D938C6 #C6D938 #38C6D9
tetradic
#D938C6 #D99B38 #38D94B #3875D9
square
#D938C6 #D99B38 #38D94B #3875D9
split-complementary
#D938C6 #75D938 #38D99B
monochromatic
#7E1872 #B222A1 #D938C6 #E36BD5 #ED9FE3

Accessibility & contrast

On white

3.94
#D938C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#D938C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938C6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938C6#FFFFFF#000000##000000
##D938C61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3271CA
Deuteranopia (green-blind)
#6F88C2
Tritanopia (blue-blind)
#E3497C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d938c6;
/* rgb */ color: rgb(217, 56, 198);
/* oklch */ color: oklch(63.3% 0.243 333.4);
Tailwind
colors: {
  custom: {
    50: '#e97fd8',
    500: '#d938c6',
    950: '#000000',
  },
}
SCSS
$custom: #d938c6;
$custom-light: #e97fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d938c6",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 307.081,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63275,
    "c": 0.24297,
    "h": 333.4
  },
  "luminance": 0.21657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D938C6

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

Preview Lab → · Contrast checker → · Palette generator →

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