#D072FC#D072FC

#D072FC is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.2% C 0.210 H 313.8°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D072FC
RGBrgb(208, 114, 252)
HSLhsl(281, 96%, 72%)
HSVhsv(281, 55%, 99%)
CMYKcmyk(17.5%, 54.8%, 0%, 1.2%)
CIE-LABlab(63.73, 58.87, -54.13)
CIE-LCHlch(63.73, 79.97, 317.40°)
OKLaboklab(71.22% 0.145 -0.1514)
OKLCHoklch(71.22% 0.21 313.8)
XYZxyz(49.5975, 32.4742, 95.7320)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072FC #9EFC72
analogous
#8B72FC #D072FC #FC72E3
triadic
#D072FC #FCD072 #72FCD0
tetradic
#D072FC #FC8B72 #9EFC72 #72E3FC
square
#D072FC #FC8B72 #9EFC72 #72E3FC
split-complementary
#D072FC #E3FC72 #72FC8B
monochromatic
#A405EF #BC36FB #D072FC #E4AEFD #F5E1FE

Accessibility & contrast

On white

2.80
#D072FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D072FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072FC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072FC#FFFFFF#000000##000000
##D072FC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d072fc;
/* rgb */ color: rgb(208, 114, 252);
/* oklch */ color: oklch(71.2% 0.210 313.8);
Tailwind
colors: {
  custom: {
    50: '#e19efe',
    500: '#d072fc',
    950: '#000000',
  },
}
SCSS
$custom: #d072fc;
$custom-light: #e19efe;
$custom-dark: #000000;
JSON
{
  "hex": "#d072fc",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 280.87,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71221,
    "c": 0.20965,
    "h": 313.8
  },
  "luminance": 0.32473
}

Semantic roles & 50–950 ramp

primary
#D072FC
secondary
#DFF6D3
accent
#E60049
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D072FC

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

Preview Lab → · Contrast checker → · Palette generator →

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