#D948D6#D948D6

#D948D6 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.5% C 0.237 H 328.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D948D6
RGBrgb(217, 72, 214)
HSLhsl(301, 66%, 57%)
HSVhsv(301, 67%, 85%)
CMYKcmyk(0%, 66.8%, 1.4%, 14.9%)
CIE-LABlab(56.33, 72.27, -44.57)
CIE-LCHlch(56.33, 84.91, 328.34°)
OKLaboklab(65.45% 0.2027 -0.1231)
OKLCHoklch(65.45% 0.237 328.7)
XYZxyz(43.0698, 24.2446, 66.0165)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948D6 #48D94B
analogous
#9348D9 #D948D6 #D9488E
triadic
#D948D6 #D6D948 #48D6D9
tetradic
#D948D6 #D99348 #48D94B #488ED9
square
#D948D6 #D99348 #48D94B #488ED9
split-complementary
#D948D6 #8ED948 #48D993
monochromatic
#8A1D88 #BD27BA #D948D6 #E47BE1 #EEADED

Accessibility & contrast

On white

3.59
#D948D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D948D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948D6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948D6#FFFFFF#000000##000000
##D948D61.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDA
Deuteranopia (green-blind)
#6E8ED2
Tritanopia (blue-blind)
#E05B8A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d948d6;
/* rgb */ color: rgb(217, 72, 214);
/* oklch */ color: oklch(65.5% 0.237 328.7);
Tailwind
colors: {
  custom: {
    50: '#e886e3',
    500: '#d948d6',
    950: '#000000',
  },
}
SCSS
$custom: #d948d6;
$custom-light: #e886e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d948d6",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 301.241,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65453,
    "c": 0.23718,
    "h": 328.7
  },
  "luminance": 0.24241
}

Semantic roles & 50–950 ramp

primary
#D948D6
secondary
#A1DCA2
accent
#E9433F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D948D6

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

Preview Lab → · Contrast checker → · Palette generator →

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