#D451FE#D451FE

#D451FE is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.9% C 0.257 H 316.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#D451FE
RGBrgb(212, 81, 254)
HSLhsl(285, 99%, 66%)
HSVhsv(285, 68%, 100%)
CMYKcmyk(16.5%, 68.1%, 0%, 0.4%)
CIE-LABlab(59.01, 74.80, -62.74)
CIE-LCHlch(59.01, 97.63, 320.01°)
OKLaboklab(67.94% 0.1874 -0.1763)
OKLCHoklch(67.94% 0.257 316.8)
XYZxyz(47.9805, 27.0396, 96.4385)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451FE #7BFE51
analogous
#7E51FE #D451FE #FE51D1
triadic
#D451FE #FED451 #51FED4
tetradic
#D451FE #FE7E51 #7BFE51 #51D1FE
square
#D451FE #FE7E51 #7BFE51 #51D1FE
split-complementary
#D451FE #D1FE51 #51FE7E
monochromatic
#A001D3 #C514FE #D451FE #E38EFE #F2CBFF

Accessibility & contrast

On white

3.28
#D451FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#D451FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451FE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451FE#FFFFFF#000000##000000
##D451FE1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#D273A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d451fe;
/* rgb */ color: rgb(212, 81, 254);
/* oklch */ color: oklch(67.9% 0.257 316.8);
Tailwind
colors: {
  custom: {
    50: '#e58cff',
    500: '#d451fe',
    950: '#000000',
  },
}
SCSS
$custom: #d451fe;
$custom-light: #e58cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d451fe",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 254
  },
  "hsl": {
    "h": 285.434,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67942,
    "c": 0.25727,
    "h": 316.8
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

primary
#D451FE
secondary
#C7F2B9
accent
#E60038
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D451FE

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

Preview Lab → · Contrast checker → · Palette generator →

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