#D948C1#D948C1

#D948C1 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.4% C 0.222 H 335.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#D948C1
RGBrgb(217, 72, 193)
HSLhsl(310, 66%, 57%)
HSVhsv(310, 67%, 85%)
CMYKcmyk(0%, 66.8%, 11.1%, 14.9%)
CIE-LABlab(55.32, 69.02, -34.16)
CIE-LCHlch(55.32, 77.01, 333.67°)
OKLaboklab(64.39% 0.2011 -0.0931)
OKLCHoklch(64.39% 0.222 335.2)
XYZxyz(40.5587, 23.2401, 52.7914)
Luminance0.2324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948C1 #48D960
analogous
#A948D9 #D948C1 #D94879
triadic
#D948C1 #C1D948 #48C1D9
tetradic
#D948C1 #D9A948 #48D960 #4879D9
square
#D948C1 #D9A948 #48D960 #4879D9
split-complementary
#D948C1 #79D948 #48D9A9
monochromatic
#8A1D78 #BD27A4 #D948C1 #E47BD2 #EEADE3

Accessibility & contrast

On white

3.72
#D948C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#D948C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948C1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948C1#FFFFFF#000000##000000
##D948C11.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#788CBD
Tritanopia (blue-blind)
#E3527E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d948c1;
/* rgb */ color: rgb(217, 72, 193);
/* oklch */ color: oklch(64.4% 0.222 335.2);
Tailwind
colors: {
  custom: {
    50: '#e886d4',
    500: '#d948c1',
    950: '#000000',
  },
}
SCSS
$custom: #d948c1;
$custom-light: #e886d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d948c1",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 309.931,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64391,
    "c": 0.22164,
    "h": 335.2
  },
  "luminance": 0.23237
}

Semantic roles & 50–950 ramp

primary
#D948C1
secondary
#A1DCAB
accent
#E95B3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D948C1

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

Preview Lab → · Contrast checker → · Palette generator →

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