#D945DB#D945DB

#D945DB is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.5% C 0.244 H 327.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#D945DB
RGBrgb(217, 69, 219)
HSLhsl(299, 68%, 56%)
HSVhsv(299, 68%, 86%)
CMYKcmyk(0.9%, 68.5%, 0%, 14.1%)
CIE-LABlab(56.21, 74.14, -47.59)
CIE-LCHlch(56.21, 88.10, 327.31°)
OKLaboklab(65.45% 0.2059 -0.1318)
OKLCHoklch(65.45% 0.244 327.4)
XYZxyz(43.5289, 24.1254, 69.3681)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945DB #47DB45
analogous
#8E45DB #D945DB #DB4592
triadic
#D945DB #DBD945 #45DBD9
tetradic
#D945DB #DB8E45 #47DB45 #4592DB
square
#D945DB #DB8E45 #47DB45 #4592DB
split-complementary
#D945DB #92DB45 #45DB8E
monochromatic
#891B8B #BC25BE #D945DB #E378E5 #EEACEF

Accessibility & contrast

On white

3.61
#D945DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#D945DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945DB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945DB#FFFFFF#000000##000000
##D945DB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BDF
Deuteranopia (green-blind)
#6A8DD7
Tritanopia (blue-blind)
#DF5B8B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d945db;
/* rgb */ color: rgb(217, 69, 219);
/* oklch */ color: oklch(65.5% 0.244 327.4);
Tailwind
colors: {
  custom: {
    50: '#e985e7',
    500: '#d945db',
    950: '#000000',
  },
}
SCSS
$custom: #d945db;
$custom-light: #e985e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d945db",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 299.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65451,
    "c": 0.24448,
    "h": 327.4
  },
  "luminance": 0.24122
}

Semantic roles & 50–950 ramp

primary
#D945DB
secondary
#A0DD9F
accent
#EA3D40
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D945DB

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

Preview Lab → · Contrast checker → · Palette generator →

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