#D970EF#D970EF

#D970EF is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.3% C 0.204 H 320.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D970EF
RGBrgb(217, 112, 239)
HSLhsl(290, 80%, 69%)
HSVhsv(290, 53%, 94%)
CMYKcmyk(9.2%, 53.1%, 0%, 6.3%)
CIE-LABlab(63.81, 59.57, -46.76)
CIE-LCHlch(63.81, 75.73, 321.87°)
OKLaboklab(71.3% 0.1571 -0.1297)
OKLCHoklch(71.3% 0.204 320.4)
XYZxyz(49.9876, 32.5742, 85.2990)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970EF #86EF70
analogous
#9A70EF #D970EF #EF70C6
triadic
#D970EF #EFD970 #70EFD9
tetradic
#D970EF #EF9A70 #86EF70 #70C6EF
square
#D970EF #EF9A70 #86EF70 #70C6EF
split-complementary
#D970EF #C6EF70 #70EF9A
monochromatic
#AE17CE #CA39E9 #D970EF #E8A7F5 #F6DEFB

Accessibility & contrast

On white

2.79
#D970EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D970EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970EF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970EF#FFFFFF#000000##000000
##D970EF1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#7B9EEC
Tritanopia (blue-blind)
#DA82A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d970ef;
/* rgb */ color: rgb(217, 112, 239);
/* oklch */ color: oklch(71.3% 0.204 320.4);
Tailwind
colors: {
  custom: {
    50: '#e79df5',
    500: '#d970ef',
    950: '#000000',
  },
}
SCSS
$custom: #d970ef;
$custom-light: #e79df5;
$custom-dark: #000000;
JSON
{
  "hex": "#d970ef",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 289.606,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71304,
    "c": 0.20372,
    "h": 320.4
  },
  "luminance": 0.32572
}

Semantic roles & 50–950 ramp

primary
#D970EF
secondary
#D1F0CB
accent
#DC092E
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D970EF

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

Preview Lab → · Contrast checker → · Palette generator →

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