#D948C2#D948C2

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

Color values

HEX#D948C2
RGBrgb(217, 72, 194)
HSLhsl(310, 66%, 57%)
HSVhsv(310, 67%, 85%)
CMYKcmyk(0%, 66.8%, 10.6%, 14.9%)
CIE-LABlab(55.36, 69.17, -34.66)
CIE-LCHlch(55.36, 77.37, 333.39°)
OKLaboklab(64.44% 0.2013 -0.0946)
OKLCHoklch(64.44% 0.222 334.8)
XYZxyz(40.6706, 23.2849, 53.3809)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948C2 #48D95F
analogous
#A848D9 #D948C2 #D9487A
triadic
#D948C2 #C2D948 #48C2D9
tetradic
#D948C2 #D9A848 #48D95F #487AD9
square
#D948C2 #D9A848 #48D95F #487AD9
split-complementary
#D948C2 #7AD948 #48D9A8
monochromatic
#8A1D79 #BD27A5 #D948C2 #E47BD3 #EEADE4

Accessibility & contrast

On white

3.71
#D948C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#D948C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948C2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948C2#FFFFFF#000000##000000
##D948C21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C6
Deuteranopia (green-blind)
#788CBE
Tritanopia (blue-blind)
#E3537F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d948c2;
/* rgb */ color: rgb(217, 72, 194);
/* oklch */ color: oklch(64.4% 0.222 334.8);
Tailwind
colors: {
  custom: {
    50: '#e886d5',
    500: '#d948c2',
    950: '#000000',
  },
}
SCSS
$custom: #d948c2;
$custom-light: #e886d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d948c2",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 309.517,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6444,
    "c": 0.22236,
    "h": 334.8
  },
  "luminance": 0.23281
}

Semantic roles & 50–950 ramp

primary
#D948C2
secondary
#A1DCAA
accent
#E95A3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D948C2

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

Preview Lab → · Contrast checker → · Palette generator →

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