#D072F8#D072F8

#D072F8 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.0% C 0.206 H 314.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D072F8
RGBrgb(208, 114, 248)
HSLhsl(282, 91%, 71%)
HSVhsv(282, 54%, 97%)
CMYKcmyk(16.1%, 54%, 0%, 2.7%)
CIE-LABlab(63.53, 58.05, -52.26)
CIE-LCHlch(63.53, 78.10, 318.01°)
OKLaboklab(71% 0.1448 -0.1459)
OKLCHoklch(71% 0.206 314.8)
XYZxyz(48.9703, 32.2233, 92.4288)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072F8 #9AF872
analogous
#8D72F8 #D072F8 #F872DD
triadic
#D072F8 #F8D072 #72F8D0
tetradic
#D072F8 #F88D72 #9AF872 #72DDF8
square
#D072F8 #F88D72 #9AF872 #72DDF8
split-complementary
#D072F8 #DDF872 #72F88D
monochromatic
#A40BE4 #BD38F5 #D072F8 #E3ACFB #F5E2FE

Accessibility & contrast

On white

2.82
#D072F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D072F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072F8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072F8#FFFFFF#000000##000000
##D072F81.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#709CF5
Tritanopia (blue-blind)
#CD88AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d072f8;
/* rgb */ color: rgb(208, 114, 248);
/* oklch */ color: oklch(71.0% 0.206 314.8);
Tailwind
colors: {
  custom: {
    50: '#e19efb',
    500: '#d072f8',
    950: '#000000',
  },
}
SCSS
$custom: #d072f8;
$custom-light: #e19efb;
$custom-dark: #000000;
JSON
{
  "hex": "#d072f8",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 282.09,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71003,
    "c": 0.20556,
    "h": 314.8
  },
  "luminance": 0.32222
}

Semantic roles & 50–950 ramp

primary
#D072F8
secondary
#DCF5D1
accent
#E60045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072F8

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

Preview Lab → · Contrast checker → · Palette generator →

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