#D948C9#D948C9

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

Color values

HEX#D948C9
RGBrgb(217, 72, 201)
HSLhsl(307, 66%, 57%)
HSVhsv(307, 67%, 85%)
CMYKcmyk(0%, 66.8%, 7.4%, 14.9%)
CIE-LABlab(55.69, 70.23, -38.16)
CIE-LCHlch(55.69, 79.93, 331.48°)
OKLaboklab(64.78% 0.2019 -0.1046)
OKLCHoklch(64.78% 0.227 332.6)
XYZxyz(41.4754, 23.6068, 57.6191)
Luminance0.2360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948C9 #48D958
analogous
#A148D9 #D948C9 #D94881
triadic
#D948C9 #C9D948 #48C9D9
tetradic
#D948C9 #D9A148 #48D958 #4881D9
square
#D948C9 #D9A148 #48D958 #4881D9
split-complementary
#D948C9 #81D948 #48D9A1
monochromatic
#8A1D7E #BD27AC #D948C9 #E47BD8 #EEADE7

Accessibility & contrast

On white

3.67
#D948C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D948C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948C9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948C9#FFFFFF#000000##000000
##D948C91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CD
Deuteranopia (green-blind)
#758DC5
Tritanopia (blue-blind)
#E25683
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d948c9;
/* rgb */ color: rgb(217, 72, 201);
/* oklch */ color: oklch(64.8% 0.227 332.6);
Tailwind
colors: {
  custom: {
    50: '#e886da',
    500: '#d948c9',
    950: '#000000',
  },
}
SCSS
$custom: #d948c9;
$custom-light: #e886da;
$custom-dark: #000000;
JSON
{
  "hex": "#d948c9",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 306.621,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64783,
    "c": 0.22742,
    "h": 332.6
  },
  "luminance": 0.23603
}

Semantic roles & 50–950 ramp

primary
#D948C9
secondary
#A1DCA7
accent
#E9523F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C15
muted
#857D83

Preview Lab

Preview with #D948C9

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

Preview Lab → · Contrast checker → · Palette generator →

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