#D948CE#D948CE

#D948CE is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.0% C 0.231 H 331.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D948CE
RGBrgb(217, 72, 206)
HSLhsl(305, 66%, 57%)
HSVhsv(305, 67%, 85%)
CMYKcmyk(0%, 66.8%, 5.1%, 14.9%)
CIE-LABlab(55.93, 71.00, -40.64)
CIE-LCHlch(55.93, 81.81, 330.21°)
OKLaboklab(65.04% 0.2023 -0.1118)
OKLCHoklch(65.04% 0.231 331.1)
XYZxyz(42.0731, 23.8459, 60.7673)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948CE #48D953
analogous
#9C48D9 #D948CE #D94886
triadic
#D948CE #CED948 #48CED9
tetradic
#D948CE #D99C48 #48D953 #4886D9
square
#D948CE #D99C48 #48D953 #4886D9
split-complementary
#D948CE #86D948 #48D99C
monochromatic
#8A1D82 #BD27B1 #D948CE #E47BDC #EEADE9

Accessibility & contrast

On white

3.64
#D948CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D948CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948CE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948CE#FFFFFF#000000##000000
##D948CE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D2
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#E15885
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d948ce;
/* rgb */ color: rgb(217, 72, 206);
/* oklch */ color: oklch(65.0% 0.231 331.1);
Tailwind
colors: {
  custom: {
    50: '#e886dd',
    500: '#d948ce',
    950: '#000000',
  },
}
SCSS
$custom: #d948ce;
$custom-light: #e886dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d948ce",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 304.552,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65036,
    "c": 0.23113,
    "h": 331.1
  },
  "luminance": 0.23843
}

Semantic roles & 50–950 ramp

primary
#D948CE
secondary
#A1DCA5
accent
#E94C3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D948CE

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

Preview Lab → · Contrast checker → · Palette generator →

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