#D938BF#D938BF

#D938BF is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.9% C 0.238 H 335.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D938BF
RGBrgb(217, 56, 191)
HSLhsl(310, 68%, 54%)
HSVhsv(310, 74%, 85%)
CMYKcmyk(0%, 74.2%, 12%, 14.9%)
CIE-LABlab(53.33, 74.10, -36.12)
CIE-LCHlch(53.33, 82.44, 334.01°)
OKLaboklab(62.92% 0.2168 -0.0986)
OKLCHoklch(62.92% 0.238 335.5)
XYZxyz(39.4340, 21.3452, 51.3233)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938BF #38D952
analogous
#A238D9 #D938BF #D9386F
triadic
#D938BF #BFD938 #38BFD9
tetradic
#D938BF #D9A238 #38D952 #386FD9
square
#D938BF #D9A238 #38D952 #386FD9
split-complementary
#D938BF #6FD938 #38D9A2
monochromatic
#7E186E #B2229B #D938BF #E36BD0 #ED9FE0

Accessibility & contrast

On white

3.99
#D938BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D938BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938BF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938BF#FFFFFF#000000##000000
##D938BF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3970C3
Deuteranopia (green-blind)
#7388BB
Tritanopia (blue-blind)
#E44578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d938bf;
/* rgb */ color: rgb(217, 56, 191);
/* oklch */ color: oklch(62.9% 0.238 335.5);
Tailwind
colors: {
  custom: {
    50: '#e97fd2',
    500: '#d938bf',
    950: '#000000',
  },
}
SCSS
$custom: #d938bf;
$custom-light: #e97fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#d938bf",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 309.689,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.23821,
    "h": 335.5
  },
  "luminance": 0.21342
}

Semantic roles & 50–950 ramp

primary
#D938BF
secondary
#94D99F
accent
#EB593D
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B14
muted
#857C82

Preview Lab

Preview with #D938BF

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

Preview Lab → · Contrast checker → · Palette generator →

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