#D072F2#D072F2

#D072F2 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.7% C 0.199 H 316.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D072F2
RGBrgb(208, 114, 242)
HSLhsl(284, 83%, 70%)
HSVhsv(284, 53%, 95%)
CMYKcmyk(14%, 52.9%, 0%, 5.1%)
CIE-LABlab(63.22, 56.84, -49.42)
CIE-LCHlch(63.22, 75.32, 318.99°)
OKLaboklab(70.68% 0.1443 -0.1377)
OKLCHoklch(70.68% 0.199 316.3)
XYZxyz(48.0544, 31.8569, 87.6048)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072F2 #94F272
analogous
#9072F2 #D072F2 #F272D4
triadic
#D072F2 #F2D072 #72F2D0
tetradic
#D072F2 #F29072 #94F272 #72D4F2
square
#D072F2 #F29072 #94F272 #72D4F2
split-complementary
#D072F2 #D4F272 #72F290
monochromatic
#A214D6 #BD3AED #D072F2 #E3AAF7 #F5E2FC

Accessibility & contrast

On white

2.85
#D072F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D072F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072F2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072F2#FFFFFF#000000##000000
##D072F21.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#CE86A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d072f2;
/* rgb */ color: rgb(208, 114, 242);
/* oklch */ color: oklch(70.7% 0.199 316.3);
Tailwind
colors: {
  custom: {
    50: '#e19ef7',
    500: '#d072f2',
    950: '#000000',
  },
}
SCSS
$custom: #d072f2;
$custom-light: #e19ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d072f2",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 284.063,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.19947,
    "h": 316.3
  },
  "luminance": 0.31855
}

Semantic roles & 50–950 ramp

primary
#D072F2
secondary
#D7F2CE
accent
#E00640
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072F2

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

Preview Lab → · Contrast checker → · Palette generator →

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