#D970F8#D970F8

#D970F8 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.8% C 0.212 H 318.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D970F8
RGBrgb(217, 112, 248)
HSLhsl(286, 91%, 71%)
HSVhsv(286, 55%, 97%)
CMYKcmyk(12.5%, 54.8%, 0%, 2.7%)
CIE-LABlab(64.26, 61.29, -51.03)
CIE-LCHlch(64.26, 79.75, 320.22°)
OKLaboklab(71.77% 0.1578 -0.1421)
OKLCHoklch(71.77% 0.212 318)
XYZxyz(51.3504, 33.1193, 92.4765)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970F8 #8FF870
analogous
#9570F8 #D970F8 #F870D3
triadic
#D970F8 #F8D970 #70F8D9
tetradic
#D970F8 #F89570 #8FF870 #70D3F8
square
#D970F8 #F89570 #8FF870 #70D3F8
split-complementary
#D970F8 #D3F870 #70F895
monochromatic
#B10BE3 #C936F5 #D970F8 #E9AAFB #F7E2FE

Accessibility & contrast

On white

2.75
#D970F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D970F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970F8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970F8#FFFFFF#000000##000000
##D970F81.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#D985AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d970f8;
/* rgb */ color: rgb(217, 112, 248);
/* oklch */ color: oklch(71.8% 0.212 318.0);
Tailwind
colors: {
  custom: {
    50: '#e79dfb',
    500: '#d970f8',
    950: '#000000',
  },
}
SCSS
$custom: #d970f8;
$custom-light: #e79dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d970f8",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 286.324,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71773,
    "c": 0.21239,
    "h": 318
  },
  "luminance": 0.33117
}

Semantic roles & 50–950 ramp

primary
#D970F8
secondary
#D8F4CF
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D970F8

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

Preview Lab → · Contrast checker → · Palette generator →

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