#D451F9#D451F9

#D451F9 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.6% C 0.253 H 317.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#D451F9
RGBrgb(212, 81, 249)
HSLhsl(287, 93%, 65%)
HSVhsv(287, 67%, 98%)
CMYKcmyk(14.9%, 67.5%, 0%, 2.4%)
CIE-LABlab(58.72, 73.86, -60.44)
CIE-LCHlch(58.72, 95.44, 320.71°)
OKLaboklab(67.64% 0.1877 -0.1695)
OKLCHoklch(67.64% 0.253 317.9)
XYZxyz(47.1903, 26.7235, 92.2766)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451F9 #76F951
analogous
#8051F9 #D451F9 #F951CA
triadic
#D451F9 #F9D451 #51F9D4
tetradic
#D451F9 #F98051 #76F951 #51CAF9
square
#D451F9 #F98051 #76F951 #51CAF9
split-complementary
#D451F9 #CAF951 #51F980
monochromatic
#9E07C9 #C516F7 #D451F9 #E38CFB #F1C7FD

Accessibility & contrast

On white

3.31
#D451F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#D451F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451F9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451F9#FFFFFF#000000##000000
##D451F91.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#D3719F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d451f9;
/* rgb */ color: rgb(212, 81, 249);
/* oklch */ color: oklch(67.6% 0.253 317.9);
Tailwind
colors: {
  custom: {
    50: '#e58bfc',
    500: '#d451f9',
    950: '#000000',
  },
}
SCSS
$custom: #d451f9;
$custom-light: #e58bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d451f9",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 249
  },
  "hsl": {
    "h": 286.786,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67637,
    "c": 0.25293,
    "h": 317.9
  },
  "luminance": 0.26721
}

Semantic roles & 50–950 ramp

primary
#D451F9
secondary
#C3F0B6
accent
#E60033
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D451F9

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

Preview Lab → · Contrast checker → · Palette generator →

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