#D948D8#D948D8

#D948D8 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.6% C 0.239 H 328.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#D948D8
RGBrgb(217, 72, 216)
HSLhsl(300, 66%, 57%)
HSVhsv(300, 67%, 85%)
CMYKcmyk(0%, 66.8%, 0.5%, 14.9%)
CIE-LABlab(56.43, 72.59, -45.54)
CIE-LCHlch(56.43, 85.69, 327.90°)
OKLaboklab(65.56% 0.2028 -0.1259)
OKLCHoklch(65.56% 0.239 328.2)
XYZxyz(43.3268, 24.3473, 67.3699)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948D8 #48D949
analogous
#9248D9 #D948D8 #D94890
triadic
#D948D8 #D8D948 #48D8D9
tetradic
#D948D8 #D99248 #48D949 #4890D9
square
#D948D8 #D99248 #48D949 #4890D9
split-complementary
#D948D8 #90D948 #48D992
monochromatic
#8A1D89 #BD27BC #D948D8 #E47BE3 #EEADEE

Accessibility & contrast

On white

3.58
#D948D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#D948D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948D8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948D8#FFFFFF#000000##000000
##D948D81.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDC
Deuteranopia (green-blind)
#6D8ED4
Tritanopia (blue-blind)
#E05C8B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d948d8;
/* rgb */ color: rgb(217, 72, 216);
/* oklch */ color: oklch(65.6% 0.239 328.2);
Tailwind
colors: {
  custom: {
    50: '#e887e4',
    500: '#d948d8',
    950: '#000000',
  },
}
SCSS
$custom: #d948d8;
$custom-light: #e887e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d948d8",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 300.414,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6556,
    "c": 0.23872,
    "h": 328.2
  },
  "luminance": 0.24344
}

Semantic roles & 50–950 ramp

primary
#D948D8
secondary
#A1DCA1
accent
#E9403F
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D948D8

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

Preview Lab → · Contrast checker → · Palette generator →

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