#D072F5#D072F5

#D072F5 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 70.8% C 0.203 H 315.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D072F5
RGBrgb(208, 114, 245)
HSLhsl(283, 87%, 70%)
HSVhsv(283, 53%, 96%)
CMYKcmyk(15.1%, 53.5%, 0%, 3.9%)
CIE-LABlab(63.37, 57.44, -50.84)
CIE-LCHlch(63.37, 76.71, 318.49°)
OKLaboklab(70.84% 0.1446 -0.1418)
OKLCHoklch(70.84% 0.203 315.5)
XYZxyz(48.5086, 32.0386, 89.9973)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072F5 #97F572
analogous
#8E72F5 #D072F5 #F572D9
triadic
#D072F5 #F5D072 #72F5D0
tetradic
#D072F5 #F58E72 #97F572 #72D9F5
square
#D072F5 #F58E72 #97F572 #72D9F5
split-complementary
#D072F5 #D9F572 #72F58E
monochromatic
#A310DD #BD39F1 #D072F5 #E3ABF9 #F5E2FD

Accessibility & contrast

On white

2.84
#D072F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D072F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D072F5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072F5#FFFFFF#000000##000000
##D072F51.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394F9
Deuteranopia (green-blind)
#729CF2
Tritanopia (blue-blind)
#CE87A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d072f5;
/* rgb */ color: rgb(208, 114, 245);
/* oklch */ color: oklch(70.8% 0.203 315.5);
Tailwind
colors: {
  custom: {
    50: '#e19ef9',
    500: '#d072f5',
    950: '#000000',
  },
}
SCSS
$custom: #d072f5;
$custom-light: #e19ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#d072f5",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 283.053,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70842,
    "c": 0.20252,
    "h": 315.5
  },
  "luminance": 0.32037
}

Semantic roles & 50–950 ramp

primary
#D072F5
secondary
#DAF3CF
accent
#E30242
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D072F5

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

Preview Lab → · Contrast checker → · Palette generator →

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