#D970F1#D970F1

#D970F1 is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.4% C 0.206 H 319.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D970F1
RGBrgb(217, 112, 241)
HSLhsl(289, 82%, 69%)
HSVhsv(289, 54%, 95%)
CMYKcmyk(10%, 53.5%, 0%, 5.5%)
CIE-LABlab(63.91, 59.95, -47.71)
CIE-LCHlch(63.91, 76.62, 321.48°)
OKLaboklab(71.41% 0.1573 -0.1325)
OKLCHoklch(71.41% 0.206 319.9)
XYZxyz(50.2847, 32.6930, 86.8637)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970F1 #88F170
analogous
#9970F1 #D970F1 #F170C9
triadic
#D970F1 #F1D970 #70F1D9
tetradic
#D970F1 #F19970 #88F170 #70C9F1
square
#D970F1 #F19970 #88F170 #70C9F1
split-complementary
#D970F1 #C9F170 #70F199
monochromatic
#AF15D2 #CA38EC #D970F1 #E8A8F6 #F7DFFC

Accessibility & contrast

On white

2.79
#D970F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D970F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970F1
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970F1#FFFFFF#000000##000000
##D970F11.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F5
Deuteranopia (green-blind)
#7A9FEE
Tritanopia (blue-blind)
#DA83A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d970f1;
/* rgb */ color: rgb(217, 112, 241);
/* oklch */ color: oklch(71.4% 0.206 319.9);
Tailwind
colors: {
  custom: {
    50: '#e79df6',
    500: '#d970f1',
    950: '#000000',
  },
}
SCSS
$custom: #d970f1;
$custom-light: #e79df6;
$custom-dark: #000000;
JSON
{
  "hex": "#d970f1",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 241
  },
  "hsl": {
    "h": 288.837,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71407,
    "c": 0.20564,
    "h": 319.9
  },
  "luminance": 0.32691
}

Semantic roles & 50–950 ramp

primary
#D970F1
secondary
#D3F1CC
accent
#DF072F
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D970F1

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

Preview Lab → · Contrast checker → · Palette generator →

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