#D948D9#D948D9

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

Color values

HEX#D948D9
RGBrgb(217, 72, 217)
HSLhsl(300, 66%, 57%)
HSVhsv(300, 67%, 85%)
CMYKcmyk(0%, 66.8%, 0%, 14.9%)
CIE-LABlab(56.49, 72.75, -46.02)
CIE-LCHlch(56.49, 86.09, 327.68°)
OKLaboklab(65.61% 0.2028 -0.1273)
OKLCHoklch(65.61% 0.239 327.9)
XYZxyz(43.4564, 24.3992, 68.0528)
Luminance0.2440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948D9 #48D948
analogous
#9148D9 #D948D9 #D94891
triadic
#D948D9 #D9D948 #48D9D9
tetradic
#D948D9 #D99148 #48D948 #4891D9
square
#D948D9 #D99148 #48D948 #4891D9
split-complementary
#D948D9 #91D948 #48D991
monochromatic
#8A1D8A #BD27BD #D948D9 #E47BE4 #EEADEE

Accessibility & contrast

On white

3.57
#D948D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#D948D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948D9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948D9#FFFFFF#000000##000000
##D948D91.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDD
Deuteranopia (green-blind)
#6D8ED5
Tritanopia (blue-blind)
#E05D8B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d948d9;
/* rgb */ color: rgb(217, 72, 217);
/* oklch */ color: oklch(65.6% 0.239 327.9);
Tailwind
colors: {
  custom: {
    50: '#e887e5',
    500: '#d948d9',
    950: '#000000',
  },
}
SCSS
$custom: #d948d9;
$custom-light: #e887e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d948d9",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 300,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65614,
    "c": 0.23949,
    "h": 327.9
  },
  "luminance": 0.24396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D948D9

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

Preview Lab → · Contrast checker → · Palette generator →

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