#D072CD#D072CD

#D072CD is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.9% C 0.164 H 328.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#D072CD
RGBrgb(208, 114, 205)
HSLhsl(302, 50%, 63%)
HSVhsv(302, 45%, 82%)
CMYKcmyk(0%, 45.2%, 1.4%, 18.4%)
CIE-LABlab(61.53, 49.81, -31.42)
CIE-LCHlch(61.53, 58.89, 327.75°)
OKLaboklab(68.87% 0.1392 -0.0858)
OKLCHoklch(68.87% 0.164 328.3)
XYZxyz(43.0485, 29.8546, 61.2408)
Luminance0.2985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D072CD #72D075
analogous
#A472D0 #D072CD #D0729E
triadic
#D072CD #CDD072 #72CDD0
tetradic
#D072CD #D0A472 #72D075 #729ED0
square
#D072CD #D0A472 #72D075 #729ED0
split-complementary
#D072CD #9ED072 #72D0A4
monochromatic
#963293 #C144BD #D072CD #DFA0DD #EFCEEE

Accessibility & contrast

On white

3.01
#D072CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#D072CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D072CD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D072CD#FFFFFF#000000##000000
##D072CD1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD0
Deuteranopia (green-blind)
#8699CA
Tritanopia (blue-blind)
#D67B96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d072cd;
/* rgb */ color: rgb(208, 114, 205);
/* oklch */ color: oklch(68.9% 0.164 328.3);
Tailwind
colors: {
  custom: {
    50: '#e09ddc',
    500: '#d072cd',
    950: '#000000',
  },
}
SCSS
$custom: #d072cd;
$custom-light: #e09ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d072cd",
  "rgb": {
    "r": 208,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 301.915,
    "s": 50,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68873,
    "c": 0.16353,
    "h": 328.3
  },
  "luminance": 0.29852
}

Semantic roles & 50–950 ramp

primary
#D072CD
secondary
#BEE0BF
accent
#BD2D28
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150E15
muted
#847E83

Preview Lab

Preview with #D072CD

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

Preview Lab → · Contrast checker → · Palette generator →

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