#D072EF#D072EF

#D072EF is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.5% C 0.196 H 317.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D072EF
RGBrgb(208, 114, 239)
HSLhsl(285, 80%, 69%)
HSVhsv(285, 52%, 94%)
CMYKcmyk(13%, 52.3%, 0%, 6.3%)
CIE-LABlab(63.08, 56.24, -48.00)
CIE-LCHlch(63.08, 73.94, 319.52°)
OKLaboklab(70.53% 0.1441 -0.1336)
OKLCHoklch(70.53% 0.196 317.2)
XYZxyz(47.6075, 31.6782, 85.2513)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072EF #91EF72
analogous
#9272EF #D072EF #EF72D0
triadic
#D072EF #EFD072 #72EFD0
tetradic
#D072EF #EF9272 #91EF72 #72D0EF
square
#D072EF #EF9272 #91EF72 #72D0EF
split-complementary
#D072EF #D0EF72 #72EF92
monochromatic
#A218CF #BE3BE9 #D072EF #E2A9F5 #F5E0FB

Accessibility & contrast

On white

2.86
#D072EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D072EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072EF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072EF#FFFFFF#000000##000000
##D072EF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#CF85A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d072ef;
/* rgb */ color: rgb(208, 114, 239);
/* oklch */ color: oklch(70.5% 0.196 317.2);
Tailwind
colors: {
  custom: {
    50: '#e19ef5',
    500: '#d072ef',
    950: '#000000',
  },
}
SCSS
$custom: #d072ef;
$custom-light: #e19ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d072ef",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 285.12,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70525,
    "c": 0.19644,
    "h": 317.2
  },
  "luminance": 0.31677
}

Semantic roles & 50–950 ramp

primary
#D072EF
secondary
#D5F1CC
accent
#DC0A3E
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072EF

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

Preview Lab → · Contrast checker → · Palette generator →

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