#D945E0#D945E0

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

Color values

HEX#D945E0
RGBrgb(217, 69, 224)
HSLhsl(297, 71%, 57%)
HSVhsv(297, 69%, 88%)
CMYKcmyk(3.1%, 69.2%, 0%, 12.2%)
CIE-LABlab(56.48, 74.96, -49.99)
CIE-LCHlch(56.48, 90.10, 326.30°)
OKLaboklab(65.73% 0.2059 -0.1388)
OKLCHoklch(65.73% 0.248 326)
XYZxyz(44.1971, 24.3927, 72.8869)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945E0 #4CE045
analogous
#8B45E0 #D945E0 #E0459A
triadic
#D945E0 #E0D945 #45E0D9
tetradic
#D945E0 #E08B45 #4CE045 #459AE0
square
#D945E0 #E08B45 #4CE045 #459AE0
split-complementary
#D945E0 #9AE045 #45E08B
monochromatic
#8D1892 #BF21C7 #D945E0 #E479E9 #EEAEF1

Accessibility & contrast

On white

3.57
#D945E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#D945E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945E0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945E0#FFFFFF#000000##000000
##D945E01.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#217CE4
Deuteranopia (green-blind)
#678EDC
Tritanopia (blue-blind)
#DE5E8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d945e0;
/* rgb */ color: rgb(217, 69, 224);
/* oklch */ color: oklch(65.7% 0.248 326.0);
Tailwind
colors: {
  custom: {
    50: '#e985ea',
    500: '#d945e0',
    950: '#000000',
  },
}
SCSS
$custom: #d945e0;
$custom-light: #e985ea;
$custom-dark: #000000;
JSON
{
  "hex": "#d945e0",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 297.29,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65728,
    "c": 0.24833,
    "h": 326
  },
  "luminance": 0.2439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D945E0

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

Preview Lab → · Contrast checker → · Palette generator →

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