#D948CB#D948CB

#D948CB is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.9% C 0.229 H 332.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#D948CB
RGBrgb(217, 72, 203)
HSLhsl(306, 66%, 57%)
HSVhsv(306, 67%, 85%)
CMYKcmyk(0%, 66.8%, 6.5%, 14.9%)
CIE-LABlab(55.79, 70.54, -39.16)
CIE-LCHlch(55.79, 80.68, 330.96°)
OKLaboklab(64.88% 0.2021 -0.1075)
OKLCHoklch(64.88% 0.229 332)
XYZxyz(41.7122, 23.7015, 58.8663)
Luminance0.2370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948CB #48D956
analogous
#9F48D9 #D948CB #D94883
triadic
#D948CB #CBD948 #48CBD9
tetradic
#D948CB #D99F48 #48D956 #4883D9
square
#D948CB #D99F48 #48D956 #4883D9
split-complementary
#D948CB #83D948 #48D99F
monochromatic
#8A1D7F #BD27AE #D948CB #E47BD9 #EEADE8

Accessibility & contrast

On white

3.66
#D948CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#D948CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948CB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948CB#FFFFFF#000000##000000
##D948CB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079CF
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#E25684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d948cb;
/* rgb */ color: rgb(217, 72, 203);
/* oklch */ color: oklch(64.9% 0.229 332.0);
Tailwind
colors: {
  custom: {
    50: '#e886db',
    500: '#d948cb',
    950: '#000000',
  },
}
SCSS
$custom: #d948cb;
$custom-light: #e886db;
$custom-dark: #000000;
JSON
{
  "hex": "#d948cb",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 305.793,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64884,
    "c": 0.22889,
    "h": 332
  },
  "luminance": 0.23698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D948CB

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

Preview Lab → · Contrast checker → · Palette generator →

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