#D938D9#D938D9

#D938D9 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.3% C 0.256 H 328.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D938D9
RGBrgb(217, 56, 217)
HSLhsl(300, 68%, 54%)
HSVhsv(300, 74%, 85%)
CMYKcmyk(0%, 74.2%, 0%, 14.9%)
CIE-LABlab(54.65, 77.97, -48.93)
CIE-LCHlch(54.65, 92.06, 327.89°)
OKLaboklab(64.3% 0.2176 -0.1357)
OKLCHoklch(64.3% 0.256 328.1)
XYZxyz(42.5533, 22.5929, 67.7518)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938D9 #38D938
analogous
#8838D9 #D938D9 #D93888
triadic
#D938D9 #D9D938 #38D9D9
tetradic
#D938D9 #D98838 #38D938 #3888D9
square
#D938D9 #D98838 #38D938 #3888D9
split-complementary
#D938D9 #88D938 #38D988
monochromatic
#7E187E #B222B2 #D938D9 #E36BE3 #ED9FED

Accessibility & contrast

On white

3.81
#D938D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D938D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938D9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938D9#FFFFFF#000000##000000
##D938D91.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1075DD
Deuteranopia (green-blind)
#658AD5
Tritanopia (blue-blind)
#E05287
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d938d9;
/* rgb */ color: rgb(217, 56, 217);
/* oklch */ color: oklch(64.3% 0.256 328.1);
Tailwind
colors: {
  custom: {
    50: '#e980e5',
    500: '#d938d9',
    950: '#000000',
  },
}
SCSS
$custom: #d938d9;
$custom-light: #e980e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d938d9",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 300,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.64298,
    "c": 0.25643,
    "h": 328.1
  },
  "luminance": 0.2259
}

Semantic roles & 50–950 ramp

primary
#D938D9
secondary
#94D994
accent
#EB3D3D
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D938D9

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

Preview Lab → · Contrast checker → · Palette generator →

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