#D938C1#D938C1

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

Color values

HEX#D938C1
RGBrgb(217, 56, 193)
HSLhsl(309, 68%, 54%)
HSVhsv(309, 74%, 85%)
CMYKcmyk(0%, 74.2%, 11.1%, 14.9%)
CIE-LABlab(53.42, 74.39, -37.13)
CIE-LCHlch(53.42, 83.14, 333.47°)
OKLaboklab(63.02% 0.217 -0.1015)
OKLCHoklch(63.02% 0.24 334.9)
XYZxyz(39.6556, 21.4339, 52.4904)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938C1 #38D950
analogous
#A038D9 #D938C1 #D93870
triadic
#D938C1 #C1D938 #38C1D9
tetradic
#D938C1 #D9A038 #38D950 #3870D9
square
#D938C1 #D9A038 #38D950 #3870D9
split-complementary
#D938C1 #70D938 #38D9A0
monochromatic
#7E186F #B2229C #D938C1 #E36BD1 #ED9FE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D938C1#FFFFFF#000000##000000
##D938C11.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)
#3770C5
Deuteranopia (green-blind)
#7288BD
Tritanopia (blue-blind)
#E44679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d938c1;
/* rgb */ color: rgb(217, 56, 193);
/* oklch */ color: oklch(63.0% 0.240 334.9);
Tailwind
colors: {
  custom: {
    50: '#e97fd4',
    500: '#d938c1',
    950: '#000000',
  },
}
SCSS
$custom: #d938c1;
$custom-light: #e97fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d938c1",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 308.944,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6302,
    "c": 0.23956,
    "h": 334.9
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D938C1

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

Preview Lab → · Contrast checker → · Palette generator →

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