#D072DF#D072DF

#D072DF is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.7% C 0.181 H 322.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D072DF
RGBrgb(208, 114, 223)
HSLhsl(292, 63%, 66%)
HSVhsv(292, 49%, 87%)
CMYKcmyk(6.7%, 48.9%, 0%, 12.5%)
CIE-LABlab(62.32, 53.13, -40.30)
CIE-LCHlch(62.32, 66.68, 322.82°)
OKLaboklab(69.72% 0.1422 -0.1113)
OKLCHoklch(69.72% 0.181 322)
XYZxyz(45.3476, 30.7742, 73.3491)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072DF #81DF72
analogous
#9972DF #D072DF #DF72B7
triadic
#D072DF #DFD072 #72DFD0
tetradic
#D072DF #DF9972 #81DF72 #72B7DF
square
#D072DF #DF9972 #81DF72 #72B7DF
split-complementary
#D072DF #B7DF72 #72DF99
monochromatic
#9C28AF #BF40D4 #D072DF #E1A4EA #F1D6F6

Accessibility & contrast

On white

2.94
#D072DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#D072DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072DF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072DF#FFFFFF#000000##000000
##D072DF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6290E3
Deuteranopia (green-blind)
#7E9ADC
Tritanopia (blue-blind)
#D2809E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d072df;
/* rgb */ color: rgb(208, 114, 223);
/* oklch */ color: oklch(69.7% 0.181 322.0);
Tailwind
colors: {
  custom: {
    50: '#e09ee9',
    500: '#d072df',
    950: '#000000',
  },
}
SCSS
$custom: #d072df;
$custom-light: #e09ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#d072df",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 291.743,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69716,
    "c": 0.18056,
    "h": 322
  },
  "luminance": 0.30772
}

Semantic roles & 50–950 ramp

primary
#D072DF
secondary
#C9E8C4
accent
#CB1B33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84

Preview Lab

Preview with #D072DF

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

Preview Lab → · Contrast checker → · Palette generator →

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