#D948CF#D948CF

#D948CF is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.1% C 0.232 H 330.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D948CF
RGBrgb(217, 72, 207)
HSLhsl(304, 66%, 57%)
HSVhsv(304, 67%, 85%)
CMYKcmyk(0%, 66.8%, 4.6%, 14.9%)
CIE-LABlab(55.98, 71.16, -41.14)
CIE-LCHlch(55.98, 82.19, 329.97°)
OKLaboklab(65.09% 0.2024 -0.1132)
OKLCHoklch(65.09% 0.232 330.8)
XYZxyz(42.1950, 23.8946, 61.4091)
Luminance0.2389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948CF #48D952
analogous
#9B48D9 #D948CF #D94887
triadic
#D948CF #CFD948 #48CFD9
tetradic
#D948CF #D99B48 #48D952 #4887D9
square
#D948CF #D99B48 #48D952 #4887D9
split-complementary
#D948CF #87D948 #48D99B
monochromatic
#8A1D82 #BD27B2 #D948CF #E47BDC #EEADEA

Accessibility & contrast

On white

3.63
#D948CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D948CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948CF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948CF#FFFFFF#000000##000000
##D948CF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#E15886
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d948cf;
/* rgb */ color: rgb(217, 72, 207);
/* oklch */ color: oklch(65.1% 0.232 330.8);
Tailwind
colors: {
  custom: {
    50: '#e886de',
    500: '#d948cf',
    950: '#000000',
  },
}
SCSS
$custom: #d948cf;
$custom-light: #e886de;
$custom-dark: #000000;
JSON
{
  "hex": "#d948cf",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 304.138,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.65088,
    "c": 0.23188,
    "h": 330.8
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D948CF

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

Preview Lab → · Contrast checker → · Palette generator →

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