#D072EB#D072EB

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

Color values

HEX#D072EB
RGBrgb(208, 114, 235)
HSLhsl(287, 75%, 68%)
HSVhsv(287, 51%, 92%)
CMYKcmyk(11.5%, 51.5%, 0%, 7.8%)
CIE-LABlab(62.88, 55.45, -46.09)
CIE-LCHlch(62.88, 72.10, 320.27°)
OKLaboklab(70.32% 0.1437 -0.128)
OKLCHoklch(70.32% 0.192 318.3)
XYZxyz(47.0231, 31.4444, 82.1735)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072EB #8DEB72
analogous
#9372EB #D072EB #EB72C9
triadic
#D072EB #EBD072 #72EBD0
tetradic
#D072EB #EB9372 #8DEB72 #72C9EB
square
#D072EB #EB9372 #8DEB72 #72C9EB
split-complementary
#D072EB #C9EB72 #72EB93
monochromatic
#A01CC6 #BE3CE3 #D072EB #E2A8F3 #F4DDFA

Accessibility & contrast

On white

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

On black

7.29
#D072EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072EB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072EB#FFFFFF#000000##000000
##D072EB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#789BE8
Tritanopia (blue-blind)
#D084A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d072eb;
/* rgb */ color: rgb(208, 114, 235);
/* oklch */ color: oklch(70.3% 0.192 318.3);
Tailwind
colors: {
  custom: {
    50: '#e19ef2',
    500: '#d072eb',
    950: '#000000',
  },
}
SCSS
$custom: #d072eb;
$custom-light: #e19ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d072eb",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 286.612,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70317,
    "c": 0.19242,
    "h": 318.3
  },
  "luminance": 0.31443
}

Semantic roles & 50–950 ramp

primary
#D072EB
secondary
#D2EFCA
accent
#D70E3B
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072EB

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

Preview Lab → · Contrast checker → · Palette generator →

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