#D948DB#D948DB

#D948DB is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.7% C 0.241 H 327.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D948DB
RGBrgb(217, 72, 219)
HSLhsl(299, 67%, 57%)
HSVhsv(299, 67%, 86%)
CMYKcmyk(0.9%, 67.1%, 0%, 14.1%)
CIE-LABlab(56.59, 73.08, -46.99)
CIE-LCHlch(56.59, 86.88, 327.26°)
OKLaboklab(65.72% 0.2029 -0.1301)
OKLCHoklch(65.72% 0.241 327.3)
XYZxyz(43.7182, 24.5039, 69.4312)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D948DB #4ADB48
analogous
#9048DB #D948DB #DB4893
triadic
#D948DB #DBD948 #48DBD9
tetradic
#D948DB #DB9048 #4ADB48 #4893DB
square
#D948DB #DB9048 #4ADB48 #4893DB
split-complementary
#D948DB #93DB48 #48DB90
monochromatic
#8B1C8D #BE26C0 #D948DB #E47BE5 #EEAEEF

Accessibility & contrast

On white

3.56
#D948DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D948DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D948DB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D948DB#FFFFFF#000000##000000
##D948DB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CDF
Deuteranopia (green-blind)
#6C8ED7
Tritanopia (blue-blind)
#DF5D8C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d948db;
/* rgb */ color: rgb(217, 72, 219);
/* oklch */ color: oklch(65.7% 0.241 327.3);
Tailwind
colors: {
  custom: {
    50: '#e887e7',
    500: '#d948db',
    950: '#000000',
  },
}
SCSS
$custom: #d948db;
$custom-light: #e887e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d948db",
  "rgb": {
    "r": 217,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 299.184,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65722,
    "c": 0.24104,
    "h": 327.3
  },
  "luminance": 0.24501
}

Semantic roles & 50–950 ramp

primary
#D948DB
secondary
#A2DDA2
accent
#EA3E40
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D948DB

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

Preview Lab → · Contrast checker → · Palette generator →

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