#D948DA#D948DA

#D948DA is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.7% C 0.240 H 327.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#D948DA
RGBrgb(217, 72, 218)
HSLhsl(300, 66%, 57%)
HSVhsv(300, 67%, 85%)
CMYKcmyk(0.5%, 67%, 0%, 14.5%)
CIE-LABlab(56.54, 72.92, -46.51)
CIE-LCHlch(56.54, 86.49, 327.47°)
OKLaboklab(65.67% 0.2029 -0.1287)
OKLCHoklch(65.67% 0.24 327.6)
XYZxyz(43.5869, 24.4514, 68.7399)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948DA #49DA48
analogous
#9048DA #D948DA #DA4892
triadic
#D948DA #DAD948 #48DAD9
tetradic
#D948DA #DA9048 #49DA48 #4892DA
square
#D948DA #DA9048 #49DA48 #4892DA
split-complementary
#D948DA #92DA48 #48DA90
monochromatic
#8B1C8B #BD26BE #D948DA #E47BE4 #EEAEEF

Accessibility & contrast

On white

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

On black

5.89
#D948DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948DA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948DA#FFFFFF#000000##000000
##D948DA1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDE
Deuteranopia (green-blind)
#6C8ED6
Tritanopia (blue-blind)
#DF5D8C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d948da;
/* rgb */ color: rgb(217, 72, 218);
/* oklch */ color: oklch(65.7% 0.240 327.6);
Tailwind
colors: {
  custom: {
    50: '#e887e6',
    500: '#d948da',
    950: '#000000',
  },
}
SCSS
$custom: #d948da;
$custom-light: #e887e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d948da",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 299.589,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.65667,
    "c": 0.24026,
    "h": 327.6
  },
  "luminance": 0.24448
}

Semantic roles & 50–950 ramp

primary
#D948DA
secondary
#A2DDA1
accent
#E93F40
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D948DA

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

Preview Lab → · Contrast checker → · Palette generator →

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