#D072EC#D072EC

#D072EC is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.4% C 0.193 H 318.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D072EC
RGBrgb(208, 114, 236)
HSLhsl(286, 76%, 69%)
HSVhsv(286, 52%, 93%)
CMYKcmyk(11.9%, 51.7%, 0%, 7.5%)
CIE-LABlab(62.93, 55.65, -46.57)
CIE-LCHlch(62.93, 72.56, 320.08°)
OKLaboklab(70.37% 0.1438 -0.1294)
OKLCHoklch(70.37% 0.193 318)
XYZxyz(47.1680, 31.5023, 82.9366)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072EC #8EEC72
analogous
#9372EC #D072EC #EC72CB
triadic
#D072EC #ECD072 #72ECD0
tetradic
#D072EC #EC9372 #8EEC72 #72CBEC
square
#D072EC #EC9372 #8EEC72 #72CBEC
split-complementary
#D072EC #CBEC72 #72EC93
monochromatic
#A11BC9 #BE3CE5 #D072EC #E2A8F3 #F4DEFB

Accessibility & contrast

On white

2.88
#D072EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D072EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072EC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072EC#FFFFFF#000000##000000
##D072EC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#779BE9
Tritanopia (blue-blind)
#D084A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d072ec;
/* rgb */ color: rgb(208, 114, 236);
/* oklch */ color: oklch(70.4% 0.193 318.0);
Tailwind
colors: {
  custom: {
    50: '#e19ef2',
    500: '#d072ec',
    950: '#000000',
  },
}
SCSS
$custom: #d072ec;
$custom-light: #e19ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d072ec",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 286.23,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.19343,
    "h": 318
  },
  "luminance": 0.31501
}

Semantic roles & 50–950 ramp

primary
#D072EC
secondary
#D3EFCB
accent
#D80D3C
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072EC

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

Preview Lab → · Contrast checker → · Palette generator →

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