#D451DF#D451DF

#D451DF is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.231 H 324.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#D451DF
RGBrgb(212, 81, 223)
HSLhsl(295, 69%, 60%)
HSVhsv(295, 64%, 87%)
CMYKcmyk(4.9%, 63.7%, 0%, 12.5%)
CIE-LABlab(57.28, 69.19, -48.20)
CIE-LCHlch(57.28, 84.32, 325.14°)
OKLaboklab(66.14% 0.188 -0.1338)
OKLCHoklch(66.14% 0.231 324.6)
XYZxyz(43.4120, 25.2122, 72.3776)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451DF #5CDF51
analogous
#8D51DF #D451DF #DF51A3
triadic
#D451DF #DFD451 #51DFD4
tetradic
#D451DF #DF8D51 #5CDF51 #51A3DF
square
#D451DF #DF8D51 #5CDF51 #51A3DF
split-complementary
#D451DF #A3DF51 #51DF8D
monochromatic
#901C99 #C026CD #D451DF #E185E9 #EEB8F2

Accessibility & contrast

On white

3.48
#D451DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#D451DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451DF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451DF#FFFFFF#000000##000000
##D451DF1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE3
Deuteranopia (green-blind)
#6A8FDB
Tritanopia (blue-blind)
#D86691
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d451df;
/* rgb */ color: rgb(212, 81, 223);
/* oklch */ color: oklch(66.1% 0.231 324.6);
Tailwind
colors: {
  custom: {
    50: '#e58be9',
    500: '#d451df',
    950: '#000000',
  },
}
SCSS
$custom: #d451df;
$custom-light: #e58be9;
$custom-dark: #000000;
JSON
{
  "hex": "#d451df",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 295.352,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66142,
    "c": 0.23079,
    "h": 324.6
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#D451DF
secondary
#AFE1AA
accent
#EC3C4A
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D451DF

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

Preview Lab → · Contrast checker → · Palette generator →

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