#D870ED#D870ED

#D870ED is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.1% C 0.201 H 320.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D870ED
RGBrgb(216, 112, 237)
HSLhsl(290, 78%, 68%)
HSVhsv(290, 53%, 93%)
CMYKcmyk(8.9%, 52.7%, 0%, 7.1%)
CIE-LABlab(63.59, 58.92, -46.01)
CIE-LCHlch(63.59, 74.76, 322.02°)
OKLaboklab(71.08% 0.1557 -0.1276)
OKLCHoklch(71.08% 0.201 320.7)
XYZxyz(49.3973, 32.3038, 83.7376)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D870ED #85ED70
analogous
#9970ED #D870ED #ED70C3
triadic
#D870ED #EDD870 #70EDD8
tetradic
#D870ED #ED9970 #85ED70 #70C3ED
square
#D870ED #ED9970 #85ED70 #70C3ED
split-complementary
#D870ED #C3ED70 #70ED99
monochromatic
#AC19C9 #C93AE6 #D870ED #E7A6F4 #F6DDFB

Accessibility & contrast

On white

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

On black

7.46
#D870ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D870ED
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D870ED#FFFFFF#000000##000000
##D870ED1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#DA82A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d870ed;
/* rgb */ color: rgb(216, 112, 237);
/* oklch */ color: oklch(71.1% 0.201 320.7);
Tailwind
colors: {
  custom: {
    50: '#e69df3',
    500: '#d870ed',
    950: '#000000',
  },
}
SCSS
$custom: #d870ed;
$custom-light: #e69df3;
$custom-dark: #000000;
JSON
{
  "hex": "#d870ed",
  "rgb": {
    "r": 216,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 289.92,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71084,
    "c": 0.20132,
    "h": 320.7
  },
  "luminance": 0.32302
}

Semantic roles & 50–950 ramp

primary
#D870ED
secondary
#D0EFCA
accent
#DA0C2E
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D870ED

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

Preview Lab → · Contrast checker → · Palette generator →

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