#D451D7#D451D7

#D451D7 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.224 H 326.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#D451D7
RGBrgb(212, 81, 215)
HSLhsl(299, 63%, 58%)
HSVhsv(299, 62%, 84%)
CMYKcmyk(1.4%, 62.3%, 0%, 15.7%)
CIE-LABlab(56.87, 67.82, -44.33)
CIE-LCHlch(56.87, 81.02, 326.83°)
OKLaboklab(65.71% 0.1877 -0.1226)
OKLCHoklch(65.71% 0.224 326.9)
XYZxyz(42.3588, 24.7909, 66.8308)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451D7 #54D751
analogous
#9151D7 #D451D7 #D75197
triadic
#D451D7 #D7D451 #51D7D4
tetradic
#D451D7 #D79151 #54D751 #5197D7
square
#D451D7 #D79151 #54D751 #5197D7
split-complementary
#D451D7 #97D751 #51D791
monochromatic
#8B208D #BC2CBF #D451D7 #E083E2 #EDB5EE

Accessibility & contrast

On white

3.52
#D451D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#D451D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451D7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451D7#FFFFFF#000000##000000
##D451D71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7EDB
Deuteranopia (green-blind)
#6F8ED3
Tritanopia (blue-blind)
#DA638D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d451d7;
/* rgb */ color: rgb(212, 81, 215);
/* oklch */ color: oklch(65.7% 0.224 326.9);
Tailwind
colors: {
  custom: {
    50: '#e58ae4',
    500: '#d451d7',
    950: '#000000',
  },
}
SCSS
$custom: #d451d7;
$custom-light: #e58ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d451d7",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 298.657,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65712,
    "c": 0.22419,
    "h": 326.9
  },
  "luminance": 0.24788
}

Semantic roles & 50–950 ramp

primary
#D451D7
secondary
#A8DDA7
accent
#E64246
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D15
muted
#847D84

Preview Lab

Preview with #D451D7

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

Preview Lab → · Contrast checker → · Palette generator →

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