#D945E6#D945E6

#D945E6 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 66.1% C 0.253 H 324.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D945E6
RGBrgb(217, 69, 230)
HSLhsl(295, 76%, 59%)
HSVhsv(295, 70%, 90%)
CMYKcmyk(5.7%, 70%, 0%, 9.8%)
CIE-LABlab(56.81, 75.95, -52.85)
CIE-LCHlch(56.81, 92.53, 325.17°)
OKLaboklab(66.07% 0.2058 -0.1471)
OKLCHoklch(66.07% 0.253 324.4)
XYZxyz(45.0251, 24.7239, 77.2482)
Luminance0.2472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945E6 #52E645
analogous
#8845E6 #D945E6 #E645A2
triadic
#D945E6 #E6D945 #45E6D9
tetradic
#D945E6 #E68845 #52E645 #45A2E6
square
#D945E6 #E68845 #52E645 #45A2E6
split-complementary
#D945E6 #A2E645 #45E688
monochromatic
#91159C #C31CD2 #D945E6 #E47BED #EFB1F5

Accessibility & contrast

On white

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

On black

5.94
#D945E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945E6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945E6#FFFFFF#000000##000000
##D945E61.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#127DEB
Deuteranopia (green-blind)
#638EE2
Tritanopia (blue-blind)
#DD6091
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d945e6;
/* rgb */ color: rgb(217, 69, 230);
/* oklch */ color: oklch(66.1% 0.253 324.4);
Tailwind
colors: {
  custom: {
    50: '#e986ee',
    500: '#d945e6',
    950: '#000000',
  },
}
SCSS
$custom: #d945e6;
$custom-light: #e986ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d945e6",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 295.155,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.66067,
    "c": 0.25301,
    "h": 324.4
  },
  "luminance": 0.24721
}

Semantic roles & 50–950 ramp

primary
#D945E6
secondary
#A9E3A4
accent
#F33544
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D945E6

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

Preview Lab → · Contrast checker → · Palette generator →

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