#D948E0#D948E0

#D948E0 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.0% C 0.245 H 326.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D948E0
RGBrgb(217, 72, 224)
HSLhsl(297, 71%, 58%)
HSVhsv(297, 68%, 88%)
CMYKcmyk(3.1%, 67.9%, 0%, 12.2%)
CIE-LABlab(56.85, 73.90, -49.40)
CIE-LCHlch(56.85, 88.89, 326.24°)
OKLaboklab(66% 0.203 -0.1371)
OKLCHoklch(66% 0.245 326)
XYZxyz(44.3863, 24.7711, 72.9500)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948E0 #4FE048
analogous
#8D48E0 #D948E0 #E0489B
triadic
#D948E0 #E0D948 #48E0D9
tetradic
#D948E0 #E08D48 #4FE048 #489BE0
square
#D948E0 #E08D48 #4FE048 #489BE0
split-complementary
#D948E0 #9BE048 #48E08D
monochromatic
#8F1994 #C122C9 #D948E0 #E47CE9 #EFB1F2

Accessibility & contrast

On white

3.53
#D948E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D948E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948E0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948E0#FFFFFF#000000##000000
##D948E01.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#287DE4
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#DE608F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d948e0;
/* rgb */ color: rgb(217, 72, 224);
/* oklch */ color: oklch(66.0% 0.245 326.0);
Tailwind
colors: {
  custom: {
    50: '#e987ea',
    500: '#d948e0',
    950: '#000000',
  },
}
SCSS
$custom: #d948e0;
$custom-light: #e987ea;
$custom-dark: #000000;
JSON
{
  "hex": "#d948e0",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 297.237,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65996,
    "c": 0.24494,
    "h": 326
  },
  "luminance": 0.24768
}

Semantic roles & 50–950 ramp

primary
#D948E0
secondary
#A6E0A4
accent
#EE3A42
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D948E0

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

Preview Lab → · Contrast checker → · Palette generator →

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