#D970F7#D970F7

#D970F7 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.7% C 0.211 H 318.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D970F7
RGBrgb(217, 112, 247)
HSLhsl(287, 89%, 70%)
HSVhsv(287, 55%, 97%)
CMYKcmyk(12.1%, 54.7%, 0%, 3.1%)
CIE-LABlab(64.21, 61.10, -50.56)
CIE-LCHlch(64.21, 79.30, 320.39°)
OKLaboklab(71.72% 0.1578 -0.1408)
OKLCHoklch(71.72% 0.211 318.3)
XYZxyz(51.1957, 33.0574, 91.6616)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970F7 #8EF770
analogous
#9670F7 #D970F7 #F770D1
triadic
#D970F7 #F7D970 #70F7D9
tetradic
#D970F7 #F79670 #8EF770 #70D1F7
square
#D970F7 #F79670 #8EF770 #70D1F7
split-complementary
#D970F7 #D1F770 #70F796
monochromatic
#B10DE0 #CA36F4 #D970F7 #E8AAFA #F7E2FD

Accessibility & contrast

On white

2.76
#D970F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D970F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970F7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970F7#FFFFFF#000000##000000
##D970F71.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#D985A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d970f7;
/* rgb */ color: rgb(217, 112, 247);
/* oklch */ color: oklch(71.7% 0.211 318.3);
Tailwind
colors: {
  custom: {
    50: '#e79dfa',
    500: '#d970f7',
    950: '#000000',
  },
}
SCSS
$custom: #d970f7;
$custom-light: #e79dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d970f7",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 286.667,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.21142,
    "h": 318.3
  },
  "luminance": 0.33055
}

Semantic roles & 50–950 ramp

primary
#D970F7
secondary
#D7F4CF
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D970F7

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

Preview Lab → · Contrast checker → · Palette generator →

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