#D948CA#D948CA

#D948CA is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.8% C 0.228 H 332.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D948CA
RGBrgb(217, 72, 202)
HSLhsl(306, 66%, 57%)
HSVhsv(306, 67%, 85%)
CMYKcmyk(0%, 66.8%, 6.9%, 14.9%)
CIE-LABlab(55.74, 70.38, -38.66)
CIE-LCHlch(55.74, 80.30, 331.22°)
OKLaboklab(64.83% 0.202 -0.106)
OKLCHoklch(64.83% 0.228 332.3)
XYZxyz(41.5934, 23.6540, 58.2407)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948CA #48D957
analogous
#A048D9 #D948CA #D94882
triadic
#D948CA #CAD948 #48CAD9
tetradic
#D948CA #D9A048 #48D957 #4882D9
square
#D948CA #D9A048 #48D957 #4882D9
split-complementary
#D948CA #82D948 #48D9A0
monochromatic
#8A1D7F #BD27AD #D948CA #E47BD9 #EEADE7

Accessibility & contrast

On white

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

On black

5.73
#D948CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948CA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948CA#FFFFFF#000000##000000
##D948CA1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CE
Deuteranopia (green-blind)
#748DC6
Tritanopia (blue-blind)
#E25683
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d948ca;
/* rgb */ color: rgb(217, 72, 202);
/* oklch */ color: oklch(64.8% 0.228 332.3);
Tailwind
colors: {
  custom: {
    50: '#e886da',
    500: '#d948ca',
    950: '#000000',
  },
}
SCSS
$custom: #d948ca;
$custom-light: #e886da;
$custom-dark: #000000;
JSON
{
  "hex": "#d948ca",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 306.207,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64833,
    "c": 0.22815,
    "h": 332.3
  },
  "luminance": 0.23651
}

Semantic roles & 50–950 ramp

primary
#D948CA
secondary
#A1DCA7
accent
#E9513F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D948CA

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

Preview Lab → · Contrast checker → · Palette generator →

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