#D970EB#D970EB

#D970EB is a light, vivid purple. Relative luminance 0.323; OKLCH L 71.1% C 0.200 H 321.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D970EB
RGBrgb(217, 112, 235)
HSLhsl(291, 75%, 68%)
HSVhsv(291, 52%, 92%)
CMYKcmyk(7.7%, 52.3%, 0%, 7.8%)
CIE-LABlab(63.62, 58.81, -44.84)
CIE-LCHlch(63.62, 73.96, 322.67°)
OKLaboklab(71.1% 0.1567 -0.1242)
OKLCHoklch(71.1% 0.2 321.6)
XYZxyz(49.4032, 32.3404, 82.2212)
Luminance0.3234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970EB #82EB70
analogous
#9C70EB #D970EB #EB70BF
triadic
#D970EB #EBD970 #70EBD9
tetradic
#D970EB #EB9C70 #82EB70 #70BFEB
square
#D970EB #EB9C70 #82EB70 #70BFEB
split-complementary
#D970EB #BFEB70 #70EB9C
monochromatic
#AC1CC5 #CB3AE3 #D970EB #E7A6F3 #F6DBFA

Accessibility & contrast

On white

2.81
#D970EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D970EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970EB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970EB#FFFFFF#000000##000000
##D970EB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EF
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#DB81A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d970eb;
/* rgb */ color: rgb(217, 112, 235);
/* oklch */ color: oklch(71.1% 0.200 321.6);
Tailwind
colors: {
  custom: {
    50: '#e79df2',
    500: '#d970eb',
    950: '#000000',
  },
}
SCSS
$custom: #d970eb;
$custom-light: #e79df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d970eb",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 291.22,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71101,
    "c": 0.19993,
    "h": 321.6
  },
  "luminance": 0.32338
}

Semantic roles & 50–950 ramp

primary
#D970EB
secondary
#CEEEC9
accent
#D80E2B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D970EB

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

Preview Lab → · Contrast checker → · Palette generator →

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