#D073F2#D073F2

#D073F2 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.8% C 0.198 H 316.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D073F2
RGBrgb(208, 115, 242)
HSLhsl(284, 83%, 70%)
HSVhsv(284, 52%, 95%)
CMYKcmyk(14%, 52.5%, 0%, 5.1%)
CIE-LABlab(63.41, 56.34, -49.13)
CIE-LCHlch(63.41, 74.75, 318.91°)
OKLaboklab(70.82% 0.143 -0.1368)
OKLCHoklch(70.82% 0.198 316.3)
XYZxyz(48.1678, 32.0837, 87.6426)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D073F2 #95F273
analogous
#9073F2 #D073F2 #F273D5
triadic
#D073F2 #F2D073 #73F2D0
tetradic
#D073F2 #F29073 #95F273 #73D5F2
square
#D073F2 #F29073 #95F273 #73D5F2
split-complementary
#D073F2 #D5F273 #73F290
monochromatic
#A314D7 #BD3BED #D073F2 #E3ABF7 #F6E3FC

Accessibility & contrast

On white

2.83
#D073F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D073F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D073F2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D073F2#FFFFFF#000000##000000
##D073F21.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#759CEF
Tritanopia (blue-blind)
#CE87A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d073f2;
/* rgb */ color: rgb(208, 115, 242);
/* oklch */ color: oklch(70.8% 0.198 316.3);
Tailwind
colors: {
  custom: {
    50: '#e19ff7',
    500: '#d073f2',
    950: '#000000',
  },
}
SCSS
$custom: #d073f2;
$custom-light: #e19ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d073f2",
  "rgb": {
    "r": 208,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 283.937,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.7082,
    "c": 0.19793,
    "h": 316.3
  },
  "luminance": 0.32082
}

Semantic roles & 50–950 ramp

primary
#D073F2
secondary
#D8F2CF
accent
#DF0640
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D073F2

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

Preview Lab → · Contrast checker → · Palette generator →

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