#D948C3#D948C3

#D948C3 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.5% C 0.223 H 334.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D948C3
RGBrgb(217, 72, 195)
HSLhsl(309, 66%, 57%)
HSVhsv(309, 67%, 85%)
CMYKcmyk(0%, 66.8%, 10.1%, 14.9%)
CIE-LABlab(55.41, 69.32, -35.16)
CIE-LCHlch(55.41, 77.73, 333.10°)
OKLaboklab(64.49% 0.2014 -0.096)
OKLCHoklch(64.49% 0.223 334.5)
XYZxyz(40.7833, 23.3300, 53.9743)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948C3 #48D95E
analogous
#A648D9 #D948C3 #D9487B
triadic
#D948C3 #C3D948 #48C3D9
tetradic
#D948C3 #D9A648 #48D95E #487BD9
square
#D948C3 #D9A648 #48D95E #487BD9
split-complementary
#D948C3 #7BD948 #48D9A6
monochromatic
#8A1D79 #BD27A6 #D948C3 #E47BD4 #EEADE4

Accessibility & contrast

On white

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

On black

5.67
#D948C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948C3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948C3#FFFFFF#000000##000000
##D948C31.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4677C7
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#E3537F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d948c3;
/* rgb */ color: rgb(217, 72, 195);
/* oklch */ color: oklch(64.5% 0.223 334.5);
Tailwind
colors: {
  custom: {
    50: '#e886d5',
    500: '#d948c3',
    950: '#000000',
  },
}
SCSS
$custom: #d948c3;
$custom-light: #e886d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d948c3",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 309.103,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64488,
    "c": 0.22307,
    "h": 334.5
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D948C3

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

Preview Lab → · Contrast checker → · Palette generator →

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