#D948C8#D948C8

#D948C8 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.7% C 0.227 H 332.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#D948C8
RGBrgb(217, 72, 200)
HSLhsl(307, 66%, 57%)
HSVhsv(307, 67%, 85%)
CMYKcmyk(0%, 66.8%, 7.8%, 14.9%)
CIE-LABlab(55.64, 70.08, -37.67)
CIE-LCHlch(55.64, 79.56, 331.74°)
OKLaboklab(64.73% 0.2018 -0.1032)
OKLCHoklch(64.73% 0.227 332.9)
XYZxyz(41.3581, 23.5599, 57.0016)
Luminance0.2356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948C8 #48D959
analogous
#A148D9 #D948C8 #D94880
triadic
#D948C8 #C8D948 #48C8D9
tetradic
#D948C8 #D9A148 #48D959 #4880D9
square
#D948C8 #D9A148 #48D959 #4880D9
split-complementary
#D948C8 #80D948 #48D9A1
monochromatic
#8A1D7D #BD27AB #D948C8 #E47BD7 #EEADE6

Accessibility & contrast

On white

3.68
#D948C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#D948C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948C8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948C8#FFFFFF#000000##000000
##D948C81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CC
Deuteranopia (green-blind)
#758DC4
Tritanopia (blue-blind)
#E25582
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d948c8;
/* rgb */ color: rgb(217, 72, 200);
/* oklch */ color: oklch(64.7% 0.227 332.9);
Tailwind
colors: {
  custom: {
    50: '#e886d9',
    500: '#d948c8',
    950: '#000000',
  },
}
SCSS
$custom: #d948c8;
$custom-light: #e886d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d948c8",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 307.034,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64733,
    "c": 0.22669,
    "h": 332.9
  },
  "luminance": 0.23557
}

Semantic roles & 50–950 ramp

primary
#D948C8
secondary
#A1DCA8
accent
#E9533F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D948C8

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

Preview Lab → · Contrast checker → · Palette generator →

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