#D970E2#D970E2

#D970E2 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.7% C 0.192 H 324.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D970E2
RGBrgb(217, 112, 226)
HSLhsl(295, 66%, 66%)
HSVhsv(295, 50%, 89%)
CMYKcmyk(4%, 50.4%, 0%, 11.4%)
CIE-LABlab(63.20, 57.15, -40.50)
CIE-LCHlch(63.20, 70.04, 324.68°)
OKLaboklab(70.66% 0.1556 -0.1116)
OKLCHoklch(70.66% 0.192 324.3)
XYZxyz(48.1357, 31.8334, 75.5457)
Luminance0.3183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970E2 #79E270
analogous
#A070E2 #D970E2 #E270B2
triadic
#D970E2 #E2D970 #70E2D9
tetradic
#D970E2 #E2A070 #79E270 #70B2E2
square
#D970E2 #E2A070 #79E270 #70B2E2
split-complementary
#D970E2 #B2E270 #70E2A0
monochromatic
#A824B3 #CB3DD8 #D970E2 #E7A3EC #F4D6F7

Accessibility & contrast

On white

2.85
#D970E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D970E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970E2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970E2#FFFFFF#000000##000000
##D970E21.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6191E6
Deuteranopia (green-blind)
#819DDF
Tritanopia (blue-blind)
#DD7E9F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d970e2;
/* rgb */ color: rgb(217, 112, 226);
/* oklch */ color: oklch(70.7% 0.192 324.3);
Tailwind
colors: {
  custom: {
    50: '#e79deb',
    500: '#d970e2',
    950: '#000000',
  },
}
SCSS
$custom: #d970e2;
$custom-light: #e79deb;
$custom-dark: #000000;
JSON
{
  "hex": "#d970e2",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 295.263,
    "s": 66.279,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70657,
    "c": 0.1915,
    "h": 324.3
  },
  "luminance": 0.31831
}

Semantic roles & 50–950 ramp

primary
#D970E2
secondary
#C7EAC4
accent
#CE1726
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D970E2

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

Preview Lab → · Contrast checker → · Palette generator →

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