#D948D1#D948D1

#D948D1 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.2% C 0.233 H 330.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D948D1
RGBrgb(217, 72, 209)
HSLhsl(303, 66%, 57%)
HSVhsv(303, 67%, 85%)
CMYKcmyk(0%, 66.8%, 3.7%, 14.9%)
CIE-LABlab(56.08, 71.47, -42.12)
CIE-LCHlch(56.08, 82.96, 329.49°)
OKLaboklab(65.19% 0.2025 -0.116)
OKLCHoklch(65.19% 0.233 330.2)
XYZxyz(42.4410, 23.9930, 62.7050)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948D1 #48D950
analogous
#9848D9 #D948D1 #D94889
triadic
#D948D1 #D1D948 #48D1D9
tetradic
#D948D1 #D99848 #48D950 #4889D9
square
#D948D1 #D99848 #48D950 #4889D9
split-complementary
#D948D1 #89D948 #48D998
monochromatic
#8A1D84 #BD27B4 #D948D1 #E47BDE #EEADEA

Accessibility & contrast

On white

3.62
#D948D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D948D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948D1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948D1#FFFFFF#000000##000000
##D948D11.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD5
Deuteranopia (green-blind)
#718DCD
Tritanopia (blue-blind)
#E15987
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d948d1;
/* rgb */ color: rgb(217, 72, 209);
/* oklch */ color: oklch(65.2% 0.233 330.2);
Tailwind
colors: {
  custom: {
    50: '#e886df',
    500: '#d948d1',
    950: '#000000',
  },
}
SCSS
$custom: #d948d1;
$custom-light: #e886df;
$custom-dark: #000000;
JSON
{
  "hex": "#d948d1",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 303.31,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65191,
    "c": 0.23338,
    "h": 330.2
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

primary
#D948D1
secondary
#A1DCA4
accent
#E9493F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D948D1

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

Preview Lab → · Contrast checker → · Palette generator →

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