#D072F6#D072F6

#D072F6 is a light, highly saturated purple. Relative luminance 0.321; OKLCH L 70.9% C 0.204 H 315.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D072F6
RGBrgb(208, 114, 246)
HSLhsl(283, 88%, 71%)
HSVhsv(283, 54%, 96%)
CMYKcmyk(15.4%, 53.7%, 0%, 3.5%)
CIE-LABlab(63.43, 57.64, -51.31)
CIE-LCHlch(63.43, 77.17, 318.32°)
OKLaboklab(70.9% 0.1446 -0.1432)
OKLCHoklch(70.9% 0.204 315.3)
XYZxyz(48.6617, 32.0998, 90.8034)
Luminance0.3210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072F6 #98F672
analogous
#8E72F6 #D072F6 #F672DA
triadic
#D072F6 #F6D072 #72F6D0
tetradic
#D072F6 #F68E72 #98F672 #72DAF6
square
#D072F6 #F68E72 #98F672 #72DAF6
split-complementary
#D072F6 #DAF672 #72F68E
monochromatic
#A30EDF #BD38F2 #D072F6 #E3ACFA #F5E2FD

Accessibility & contrast

On white

2.83
#D072F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D072F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072F6
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072F6#FFFFFF#000000##000000
##D072F61.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FA
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#CE87AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d072f6;
/* rgb */ color: rgb(208, 114, 246);
/* oklch */ color: oklch(70.9% 0.204 315.3);
Tailwind
colors: {
  custom: {
    50: '#e19efa',
    500: '#d072f6',
    950: '#000000',
  },
}
SCSS
$custom: #d072f6;
$custom-light: #e19efa;
$custom-dark: #000000;
JSON
{
  "hex": "#d072f6",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 282.727,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70895,
    "c": 0.20353,
    "h": 315.3
  },
  "luminance": 0.32098
}

Semantic roles & 50–950 ramp

primary
#D072F6
secondary
#DAF4D0
accent
#E50142
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072F6

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

Preview Lab → · Contrast checker → · Palette generator →

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