#D072ED#D072ED

#D072ED is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.4% C 0.194 H 317.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D072ED
RGBrgb(208, 114, 237)
HSLhsl(286, 77%, 69%)
HSVhsv(286, 52%, 93%)
CMYKcmyk(12.2%, 51.9%, 0%, 7.1%)
CIE-LABlab(62.98, 55.84, -47.04)
CIE-LCHlch(62.98, 73.02, 319.89°)
OKLaboklab(70.42% 0.1439 -0.1308)
OKLCHoklch(70.42% 0.194 317.7)
XYZxyz(47.3137, 31.5606, 83.7038)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072ED #8FED72
analogous
#9372ED #D072ED #ED72CC
triadic
#D072ED #EDD072 #72EDD0
tetradic
#D072ED #ED9372 #8FED72 #72CCED
square
#D072ED #ED9372 #8FED72 #72CCED
split-complementary
#D072ED #CCED72 #72ED93
monochromatic
#A11ACB #BE3CE6 #D072ED #E2A8F4 #F4DFFB

Accessibility & contrast

On white

2.87
#D072ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D072ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072ED
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072ED#FFFFFF#000000##000000
##D072ED1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F1
Deuteranopia (green-blind)
#779BEA
Tritanopia (blue-blind)
#D084A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d072ed;
/* rgb */ color: rgb(208, 114, 237);
/* oklch */ color: oklch(70.4% 0.194 317.7);
Tailwind
colors: {
  custom: {
    50: '#e19ef3',
    500: '#d072ed',
    950: '#000000',
  },
}
SCSS
$custom: #d072ed;
$custom-light: #e19ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#d072ed",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 285.854,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70421,
    "c": 0.19443,
    "h": 317.7
  },
  "luminance": 0.31559
}

Semantic roles & 50–950 ramp

primary
#D072ED
secondary
#D4F0CB
accent
#DA0C3C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072ED

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

Preview Lab → · Contrast checker → · Palette generator →

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