#D072F4#D072F4

#D072F4 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 70.8% C 0.202 H 315.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D072F4
RGBrgb(208, 114, 244)
HSLhsl(283, 86%, 70%)
HSVhsv(283, 53%, 96%)
CMYKcmyk(14.8%, 53.3%, 0%, 4.3%)
CIE-LABlab(63.32, 57.24, -50.37)
CIE-LCHlch(63.32, 76.25, 318.65°)
OKLaboklab(70.79% 0.1445 -0.1404)
OKLCHoklch(70.79% 0.202 315.8)
XYZxyz(48.3564, 31.9777, 89.1955)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072F4 #96F472
analogous
#8F72F4 #D072F4 #F472D7
triadic
#D072F4 #F4D072 #72F4D0
tetradic
#D072F4 #F48F72 #96F472 #72D7F4
square
#D072F4 #F48F72 #96F472 #72D7F4
split-complementary
#D072F4 #D7F472 #72F48F
monochromatic
#A311DB #BD39F0 #D072F4 #E3ABF8 #F6E3FD

Accessibility & contrast

On white

2.84
#D072F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D072F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072F4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072F4#FFFFFF#000000##000000
##D072F41.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F8
Deuteranopia (green-blind)
#739CF1
Tritanopia (blue-blind)
#CE87A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d072f4;
/* rgb */ color: rgb(208, 114, 244);
/* oklch */ color: oklch(70.8% 0.202 315.8);
Tailwind
colors: {
  custom: {
    50: '#e19ef8',
    500: '#d072f4',
    950: '#000000',
  },
}
SCSS
$custom: #d072f4;
$custom-light: #e19ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#d072f4",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 283.385,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70788,
    "c": 0.2015,
    "h": 315.8
  },
  "luminance": 0.31976
}

Semantic roles & 50–950 ramp

primary
#D072F4
secondary
#D9F3CF
accent
#E20341
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072F4

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

Preview Lab → · Contrast checker → · Palette generator →

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