#D072F0#D072F0

#D072F0 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.6% C 0.197 H 316.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D072F0
RGBrgb(208, 114, 240)
HSLhsl(285, 81%, 69%)
HSVhsv(285, 53%, 94%)
CMYKcmyk(13.3%, 52.5%, 0%, 5.9%)
CIE-LABlab(63.13, 56.44, -48.47)
CIE-LCHlch(63.13, 74.40, 319.34°)
OKLaboklab(70.58% 0.1441 -0.1349)
OKLCHoklch(70.58% 0.197 316.9)
XYZxyz(47.7556, 31.7374, 86.0315)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072F0 #92F072
analogous
#9172F0 #D072F0 #F072D1
triadic
#D072F0 #F0D072 #72F0D0
tetradic
#D072F0 #F09172 #92F072 #72D1F0
square
#D072F0 #F09172 #92F072 #72D1F0
split-complementary
#D072F0 #D1F072 #72F091
monochromatic
#A216D1 #BE3BEA #D072F0 #E2A9F6 #F5E1FC

Accessibility & contrast

On white

2.86
#D072F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#D072F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072F0
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072F0#FFFFFF#000000##000000
##D072F01.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F4
Deuteranopia (green-blind)
#759CED
Tritanopia (blue-blind)
#CF85A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d072f0;
/* rgb */ color: rgb(208, 114, 240);
/* oklch */ color: oklch(70.6% 0.197 316.9);
Tailwind
colors: {
  custom: {
    50: '#e19ef5',
    500: '#d072f0',
    950: '#000000',
  },
}
SCSS
$custom: #d072f0;
$custom-light: #e19ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d072f0",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 284.762,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70577,
    "c": 0.19745,
    "h": 316.9
  },
  "luminance": 0.31736
}

Semantic roles & 50–950 ramp

primary
#D072F0
secondary
#D6F1CD
accent
#DD083E
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072F0

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

Preview Lab → · Contrast checker → · Palette generator →

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