#D938C2#D938C2

#D938C2 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.1% C 0.240 H 334.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D938C2
RGBrgb(217, 56, 194)
HSLhsl(309, 68%, 54%)
HSVhsv(309, 74%, 85%)
CMYKcmyk(0%, 74.2%, 10.6%, 14.9%)
CIE-LABlab(53.47, 74.53, -37.63)
CIE-LCHlch(53.47, 83.49, 333.21°)
OKLaboklab(63.07% 0.2171 -0.103)
OKLCHoklch(63.07% 0.24 334.6)
XYZxyz(39.7675, 21.4786, 53.0798)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938C2 #38D94F
analogous
#9F38D9 #D938C2 #D93872
triadic
#D938C2 #C2D938 #38C2D9
tetradic
#D938C2 #D99F38 #38D94F #3872D9
square
#D938C2 #D99F38 #38D94F #3872D9
split-complementary
#D938C2 #72D938 #38D99F
monochromatic
#7E1870 #B2229D #D938C2 #E36BD2 #ED9FE2

Accessibility & contrast

On white

3.97
#D938C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D938C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938C2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938C2#FFFFFF#000000##000000
##D938C21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3671C6
Deuteranopia (green-blind)
#7188BE
Tritanopia (blue-blind)
#E3467A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d938c2;
/* rgb */ color: rgb(217, 56, 194);
/* oklch */ color: oklch(63.1% 0.240 334.6);
Tailwind
colors: {
  custom: {
    50: '#e97fd5',
    500: '#d938c2',
    950: '#000000',
  },
}
SCSS
$custom: #d938c2;
$custom-light: #e97fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d938c2",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 308.571,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6307,
    "c": 0.24024,
    "h": 334.6
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#D938C2
secondary
#94D99E
accent
#EB563D
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #D938C2

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

Preview Lab → · Contrast checker → · Palette generator →

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