#D451D9#D451D9

#D451D9 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.226 H 326.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#D451D9
RGBrgb(212, 81, 217)
HSLhsl(298, 64%, 58%)
HSVhsv(298, 63%, 85%)
CMYKcmyk(2.3%, 62.7%, 0%, 14.9%)
CIE-LABlab(56.97, 68.16, -45.30)
CIE-LCHlch(56.97, 81.84, 326.39°)
OKLaboklab(65.82% 0.1878 -0.1254)
OKLCHoklch(65.82% 0.226 326.3)
XYZxyz(42.6174, 24.8943, 68.1926)
Luminance0.2489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451D9 #56D951
analogous
#9051D9 #D451D9 #D9519A
triadic
#D451D9 #D9D451 #51D9D4
tetradic
#D451D9 #D99051 #56D951 #519AD9
square
#D451D9 #D99051 #56D951 #519AD9
split-complementary
#D451D9 #9AD951 #51D990
monochromatic
#8C1F90 #BD2AC2 #D451D9 #E083E4 #EDB5EF

Accessibility & contrast

On white

3.51
#D451D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#D451D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451D9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451D9#FFFFFF#000000##000000
##D451D91.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7EDD
Deuteranopia (green-blind)
#6E8FD5
Tritanopia (blue-blind)
#D9648E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d451d9;
/* rgb */ color: rgb(212, 81, 217);
/* oklch */ color: oklch(65.8% 0.226 326.3);
Tailwind
colors: {
  custom: {
    50: '#e58be5',
    500: '#d451d9',
    950: '#000000',
  },
}
SCSS
$custom: #d451d9;
$custom-light: #e58be5;
$custom-dark: #000000;
JSON
{
  "hex": "#d451d9",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 297.794,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65818,
    "c": 0.22582,
    "h": 326.3
  },
  "luminance": 0.24892
}

Semantic roles & 50–950 ramp

primary
#D451D9
secondary
#AADEA8
accent
#E74147
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D451D9

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

Preview Lab → · Contrast checker → · Palette generator →

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