#D970F2#D970F2

#D970F2 is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.5% C 0.207 H 319.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D970F2
RGBrgb(217, 112, 242)
HSLhsl(288, 83%, 69%)
HSVhsv(288, 54%, 95%)
CMYKcmyk(10.3%, 53.7%, 0%, 5.1%)
CIE-LABlab(63.96, 60.14, -48.19)
CIE-LCHlch(63.96, 77.06, 321.29°)
OKLaboklab(71.46% 0.1574 -0.1339)
OKLCHoklch(71.46% 0.207 319.6)
XYZxyz(50.4344, 32.7529, 87.6525)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970F2 #89F270
analogous
#9870F2 #D970F2 #F270CA
triadic
#D970F2 #F2D970 #70F2D9
tetradic
#D970F2 #F29870 #89F270 #70CAF2
square
#D970F2 #F29870 #89F270 #70CAF2
split-complementary
#D970F2 #CAF270 #70F298
monochromatic
#AF13D4 #CA38ED #D970F2 #E8A8F7 #F7E0FC

Accessibility & contrast

On white

2.78
#D970F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D970F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970F2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970F2#FFFFFF#000000##000000
##D970F21.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#799FEE
Tritanopia (blue-blind)
#DA83A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d970f2;
/* rgb */ color: rgb(217, 112, 242);
/* oklch */ color: oklch(71.5% 0.207 319.6);
Tailwind
colors: {
  custom: {
    50: '#e79df7',
    500: '#d970f2',
    950: '#000000',
  },
}
SCSS
$custom: #d970f2;
$custom-light: #e79df7;
$custom-dark: #000000;
JSON
{
  "hex": "#d970f2",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 288.462,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71459,
    "c": 0.2066,
    "h": 319.6
  },
  "luminance": 0.32751
}

Semantic roles & 50–950 ramp

primary
#D970F2
secondary
#D3F2CC
accent
#E00630
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D970F2

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

Preview Lab → · Contrast checker → · Palette generator →

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