#D948CD#D948CD

#D948CD is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.0% C 0.230 H 331.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D948CD
RGBrgb(217, 72, 205)
HSLhsl(305, 66%, 57%)
HSVhsv(305, 67%, 85%)
CMYKcmyk(0%, 66.8%, 5.5%, 14.9%)
CIE-LABlab(55.88, 70.85, -40.15)
CIE-LCHlch(55.88, 81.43, 330.46°)
OKLaboklab(64.99% 0.2022 -0.1103)
OKLCHoklch(64.99% 0.23 331.4)
XYZxyz(41.9520, 23.7974, 60.1296)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948CD #48D954
analogous
#9D48D9 #D948CD #D94884
triadic
#D948CD #CDD948 #48CDD9
tetradic
#D948CD #D99D48 #48D954 #4884D9
square
#D948CD #D99D48 #48D954 #4884D9
split-complementary
#D948CD #84D948 #48D99D
monochromatic
#8A1D81 #BD27B0 #D948CD #E47BDB #EEADE9

Accessibility & contrast

On white

3.65
#D948CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D948CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948CD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948CD#FFFFFF#000000##000000
##D948CD1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#E25785
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d948cd;
/* rgb */ color: rgb(217, 72, 205);
/* oklch */ color: oklch(65.0% 0.230 331.4);
Tailwind
colors: {
  custom: {
    50: '#e886dc',
    500: '#d948cd',
    950: '#000000',
  },
}
SCSS
$custom: #d948cd;
$custom-light: #e886dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d948cd",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 304.966,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64985,
    "c": 0.23038,
    "h": 331.4
  },
  "luminance": 0.23794
}

Semantic roles & 50–950 ramp

primary
#D948CD
secondary
#A1DCA6
accent
#E94D3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D948CD

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

Preview Lab → · Contrast checker → · Palette generator →

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