#D938D3#D938D3

#D938D3 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 64.0% C 0.252 H 329.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D938D3
RGBrgb(217, 56, 211)
HSLhsl(302, 68%, 54%)
HSVhsv(302, 74%, 85%)
CMYKcmyk(0%, 74.2%, 2.8%, 14.9%)
CIE-LABlab(54.33, 77.05, -46.03)
CIE-LCHlch(54.33, 89.75, 329.15°)
OKLaboklab(63.97% 0.2177 -0.1272)
OKLCHoklch(63.97% 0.252 329.7)
XYZxyz(41.7871, 22.2864, 63.7162)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938D3 #38D93E
analogous
#8E38D9 #D938D3 #D93882
triadic
#D938D3 #D3D938 #38D3D9
tetradic
#D938D3 #D98E38 #38D93E #3882D9
square
#D938D3 #D98E38 #38D93E #3882D9
split-complementary
#D938D3 #82D938 #38D98E
monochromatic
#7E187B #B222AC #D938D3 #E36BDE #ED9FEA

Accessibility & contrast

On white

3.85
#D938D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D938D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938D3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938D3#FFFFFF#000000##000000
##D938D31.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F74D7
Deuteranopia (green-blind)
#6989CF
Tritanopia (blue-blind)
#E14F83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d938d3;
/* rgb */ color: rgb(217, 56, 211);
/* oklch */ color: oklch(64.0% 0.252 329.7);
Tailwind
colors: {
  custom: {
    50: '#e97fe1',
    500: '#d938d3',
    950: '#000000',
  },
}
SCSS
$custom: #d938d3;
$custom-light: #e97fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#d938d3",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 302.236,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63966,
    "c": 0.2521,
    "h": 329.7
  },
  "luminance": 0.22283
}

Semantic roles & 50–950 ramp

primary
#D938D3
secondary
#94D996
accent
#EB433D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D938D3

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

Preview Lab → · Contrast checker → · Palette generator →

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