#D970E7#D970E7

#D970E7 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.9% C 0.196 H 322.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D970E7
RGBrgb(217, 112, 231)
HSLhsl(293, 71%, 67%)
HSVhsv(293, 52%, 91%)
CMYKcmyk(6.1%, 51.5%, 0%, 9.4%)
CIE-LABlab(63.44, 58.07, -42.92)
CIE-LCHlch(63.44, 72.21, 323.53°)
OKLaboklab(70.9% 0.1562 -0.1186)
OKLCHoklch(70.9% 0.196 322.8)
XYZxyz(48.8318, 32.1119, 79.2118)
Luminance0.3211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970E7 #7EE770
analogous
#9E70E7 #D970E7 #E770BA
triadic
#D970E7 #E7D970 #70E7D9
tetradic
#D970E7 #E79E70 #7EE770 #70BAE7
square
#D970E7 #E79E70 #7EE770 #70BAE7
split-complementary
#D970E7 #BAE770 #70E79E
monochromatic
#AA20BD #CB3CDE #D970E7 #E7A4F0 #F5D9F9

Accessibility & contrast

On white

2.83
#D970E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D970E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970E7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970E7#FFFFFF#000000##000000
##D970E71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E92EB
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#DC80A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d970e7;
/* rgb */ color: rgb(217, 112, 231);
/* oklch */ color: oklch(70.9% 0.196 322.8);
Tailwind
colors: {
  custom: {
    50: '#e79def',
    500: '#d970e7',
    950: '#000000',
  },
}
SCSS
$custom: #d970e7;
$custom-light: #e79def;
$custom-dark: #000000;
JSON
{
  "hex": "#d970e7",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 292.941,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70902,
    "c": 0.19615,
    "h": 322.8
  },
  "luminance": 0.3211
}

Semantic roles & 50–950 ramp

primary
#D970E7
secondary
#CBECC7
accent
#D31229
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D970E7

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

Preview Lab → · Contrast checker → · Palette generator →

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