#D970E1#D970E1

#D970E1 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.6% C 0.191 H 324.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D970E1
RGBrgb(217, 112, 225)
HSLhsl(296, 65%, 66%)
HSVhsv(296, 50%, 88%)
CMYKcmyk(3.6%, 50.2%, 0%, 11.8%)
CIE-LABlab(63.16, 56.96, -40.01)
CIE-LCHlch(63.16, 69.61, 324.92°)
OKLaboklab(70.61% 0.1555 -0.1102)
OKLCHoklch(70.61% 0.191 324.7)
XYZxyz(47.9989, 31.7787, 74.8252)
Luminance0.3178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970E1 #78E170
analogous
#A070E1 #D970E1 #E170B0
triadic
#D970E1 #E1D970 #70E1D9
tetradic
#D970E1 #E1A070 #78E170 #70B0E1
square
#D970E1 #E1A070 #78E170 #70B0E1
split-complementary
#D970E1 #B0E170 #70E1A0
monochromatic
#A725B1 #CC3DD6 #D970E1 #E6A3EC #F4D5F6

Accessibility & contrast

On white

2.86
#D970E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#D970E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970E1
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970E1#FFFFFF#000000##000000
##D970E11.002.867.367.36
#FFFFFF2.861.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6291E5
Deuteranopia (green-blind)
#829DDE
Tritanopia (blue-blind)
#DD7E9E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d970e1;
/* rgb */ color: rgb(217, 112, 225);
/* oklch */ color: oklch(70.6% 0.191 324.7);
Tailwind
colors: {
  custom: {
    50: '#e79deb',
    500: '#d970e1',
    950: '#000000',
  },
}
SCSS
$custom: #d970e1;
$custom-light: #e79deb;
$custom-dark: #000000;
JSON
{
  "hex": "#d970e1",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 225
  },
  "hsl": {
    "h": 295.752,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70608,
    "c": 0.19058,
    "h": 324.7
  },
  "luminance": 0.31776
}

Semantic roles & 50–950 ramp

primary
#D970E1
secondary
#C6E9C4
accent
#CD1825
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D970E1

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

Preview Lab → · Contrast checker → · Palette generator →

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