#D938C8#D938C8

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

Color values

HEX#D938C8
RGBrgb(217, 56, 200)
HSLhsl(306, 68%, 54%)
HSVhsv(306, 74%, 85%)
CMYKcmyk(0%, 74.2%, 7.8%, 14.9%)
CIE-LABlab(53.76, 75.40, -40.62)
CIE-LCHlch(53.76, 85.65, 331.69°)
OKLaboklab(63.38% 0.2174 -0.1116)
OKLCHoklch(63.38% 0.244 332.8)
XYZxyz(40.4550, 21.7536, 56.7006)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938C8 #38D949
analogous
#9938D9 #D938C8 #D93878
triadic
#D938C8 #C8D938 #38C8D9
tetradic
#D938C8 #D99938 #38D949 #3878D9
square
#D938C8 #D99938 #38D949 #3878D9
split-complementary
#D938C8 #78D938 #38D999
monochromatic
#7E1874 #B222A3 #D938C8 #E36BD6 #ED9FE4

Accessibility & contrast

On white

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

On black

5.35
#D938C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938C8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938C8#FFFFFF#000000##000000
##D938C81.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#6E89C4
Tritanopia (blue-blind)
#E34A7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d938c8;
/* rgb */ color: rgb(217, 56, 200);
/* oklch */ color: oklch(63.4% 0.244 332.8);
Tailwind
colors: {
  custom: {
    50: '#e97fd9',
    500: '#d938c8',
    950: '#000000',
  },
}
SCSS
$custom: #d938c8;
$custom-light: #e97fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d938c8",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 306.335,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.24435,
    "h": 332.8
  },
  "luminance": 0.2175
}

Semantic roles & 50–950 ramp

primary
#D938C8
secondary
#94D99B
accent
#EB4F3D
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B15
muted
#857C83

Preview Lab

Preview with #D938C8

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

Preview Lab → · Contrast checker → · Palette generator →

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