#D472ED#D472ED

#D472ED is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.9% C 0.196 H 319.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D472ED
RGBrgb(212, 114, 237)
HSLhsl(288, 77%, 69%)
HSVhsv(288, 52%, 93%)
CMYKcmyk(10.5%, 51.9%, 0%, 7.1%)
CIE-LABlab(63.47, 56.90, -46.24)
CIE-LCHlch(63.47, 73.32, 320.90°)
OKLaboklab(70.88% 0.1485 -0.1284)
OKLCHoklch(70.88% 0.196 319.2)
XYZxyz(48.4528, 32.1480, 83.7572)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D472ED #8BED72
analogous
#9772ED #D472ED #ED72C9
triadic
#D472ED #EDD472 #72EDD4
tetradic
#D472ED #ED9772 #8BED72 #72C9ED
square
#D472ED #ED9772 #8BED72 #72C9ED
split-complementary
#D472ED #C9ED72 #72ED97
monochromatic
#A71ACB #C33CE6 #D472ED #E5A8F4 #F5DFFB

Accessibility & contrast

On white

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

On black

7.43
#D472ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D472ED
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D472ED#FFFFFF#000000##000000
##D472ED1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#7A9DEA
Tritanopia (blue-blind)
#D584A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d472ed;
/* rgb */ color: rgb(212, 114, 237);
/* oklch */ color: oklch(70.9% 0.196 319.2);
Tailwind
colors: {
  custom: {
    50: '#e49ef3',
    500: '#d472ed',
    950: '#000000',
  },
}
SCSS
$custom: #d472ed;
$custom-light: #e49ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#d472ed",
  "rgb": {
    "r": 212,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 287.805,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70884,
    "c": 0.1963,
    "h": 319.2
  },
  "luminance": 0.32146
}

Semantic roles & 50–950 ramp

primary
#D472ED
secondary
#D3F0CB
accent
#DA0C36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D472ED

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

Preview Lab → · Contrast checker → · Palette generator →

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