#D072FB#D072FB

#D072FB is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.2% C 0.209 H 314.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D072FB
RGBrgb(208, 114, 251)
HSLhsl(281, 94%, 72%)
HSVhsv(281, 55%, 98%)
CMYKcmyk(17.1%, 54.6%, 0%, 1.6%)
CIE-LABlab(63.68, 58.66, -53.66)
CIE-LCHlch(63.68, 79.50, 317.55°)
OKLaboklab(71.17% 0.145 -0.15)
OKLCHoklch(71.17% 0.209 314)
XYZxyz(49.4395, 32.4109, 94.8997)
Luminance0.3241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072FB #9DFB72
analogous
#8C72FB #D072FB #FB72E2
triadic
#D072FB #FBD072 #72FBD0
tetradic
#D072FB #FB8C72 #9DFB72 #72E2FB
square
#D072FB #FB8C72 #9DFB72 #72E2FB
split-complementary
#D072FB #E2FB72 #72FB8C
monochromatic
#A407EC #BC36F9 #D072FB #E4AEFD #F5E1FE

Accessibility & contrast

On white

2.81
#D072FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D072FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072FB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072FB#FFFFFF#000000##000000
##D072FB1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#CC89AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d072fb;
/* rgb */ color: rgb(208, 114, 251);
/* oklch */ color: oklch(71.2% 0.209 314.0);
Tailwind
colors: {
  custom: {
    50: '#e19efd',
    500: '#d072fb',
    950: '#000000',
  },
}
SCSS
$custom: #d072fb;
$custom-light: #e19efd;
$custom-dark: #000000;
JSON
{
  "hex": "#d072fb",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 281.168,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71166,
    "c": 0.20863,
    "h": 314
  },
  "luminance": 0.3241
}

Semantic roles & 50–950 ramp

primary
#D072FB
secondary
#DEF6D3
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D072FB

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

Preview Lab → · Contrast checker → · Palette generator →

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