#D948D5#D948D5

#D948D5 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.4% C 0.236 H 329.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D948D5
RGBrgb(217, 72, 213)
HSLhsl(302, 66%, 57%)
HSVhsv(302, 67%, 85%)
CMYKcmyk(0%, 66.8%, 1.8%, 14.9%)
CIE-LABlab(56.28, 72.11, -44.08)
CIE-LCHlch(56.28, 84.51, 328.56°)
OKLaboklab(65.4% 0.2027 -0.1217)
OKLCHoklch(65.4% 0.236 329)
XYZxyz(42.9425, 24.1936, 65.3460)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948D5 #48D94C
analogous
#9548D9 #D948D5 #D9488D
triadic
#D948D5 #D5D948 #48D5D9
tetradic
#D948D5 #D99548 #48D94C #488DD9
square
#D948D5 #D99548 #48D94C #488DD9
split-complementary
#D948D5 #8DD948 #48D995
monochromatic
#8A1D87 #BD27B9 #D948D5 #E47BE1 #EEADEC

Accessibility & contrast

On white

3.60
#D948D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D948D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948D5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948D5#FFFFFF#000000##000000
##D948D51.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#377BD9
Deuteranopia (green-blind)
#6F8ED1
Tritanopia (blue-blind)
#E05B89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d948d5;
/* rgb */ color: rgb(217, 72, 213);
/* oklch */ color: oklch(65.4% 0.236 329.0);
Tailwind
colors: {
  custom: {
    50: '#e886e2',
    500: '#d948d5',
    950: '#000000',
  },
}
SCSS
$custom: #d948d5;
$custom-light: #e886e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d948d5",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 301.655,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.654,
    "c": 0.23642,
    "h": 329
  },
  "luminance": 0.24191
}

Semantic roles & 50–950 ramp

primary
#D948D5
secondary
#A1DCA2
accent
#E9443F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D948D5

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

Preview Lab → · Contrast checker → · Palette generator →

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