#D072EA#D072EA

#D072EA is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.3% C 0.191 H 318.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D072EA
RGBrgb(208, 114, 234)
HSLhsl(287, 74%, 68%)
HSVhsv(287, 51%, 92%)
CMYKcmyk(11.1%, 51.3%, 0%, 8.2%)
CIE-LABlab(62.83, 55.25, -45.61)
CIE-LCHlch(62.83, 71.64, 320.46°)
OKLaboklab(70.27% 0.1436 -0.1266)
OKLCHoklch(70.27% 0.191 318.6)
XYZxyz(46.8790, 31.3868, 81.4148)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072EA #8CEA72
analogous
#9472EA #D072EA #EA72C8
triadic
#D072EA #EAD072 #72EAD0
tetradic
#D072EA #EA9472 #8CEA72 #72C8EA
square
#D072EA #EA9472 #8CEA72 #72C8EA
split-complementary
#D072EA #C8EA72 #72EA94
monochromatic
#A01DC4 #BE3DE2 #D072EA #E2A7F2 #F4DDFA

Accessibility & contrast

On white

2.89
#D072EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D072EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072EA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072EA#FFFFFF#000000##000000
##D072EA1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#789BE7
Tritanopia (blue-blind)
#D083A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d072ea;
/* rgb */ color: rgb(208, 114, 234);
/* oklch */ color: oklch(70.3% 0.191 318.6);
Tailwind
colors: {
  custom: {
    50: '#e19ef1',
    500: '#d072ea',
    950: '#000000',
  },
}
SCSS
$custom: #d072ea;
$custom-light: #e19ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d072ea",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 287,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70266,
    "c": 0.19142,
    "h": 318.6
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

primary
#D072EA
secondary
#D2EECA
accent
#D60F3A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072EA

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

Preview Lab → · Contrast checker → · Palette generator →

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