#D451E6#D451E6

#D451E6 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.5% C 0.237 H 322.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D451E6
RGBrgb(212, 81, 230)
HSLhsl(293, 75%, 61%)
HSVhsv(293, 65%, 90%)
CMYKcmyk(7.8%, 64.8%, 0%, 9.8%)
CIE-LABlab(57.65, 70.42, -51.55)
CIE-LCHlch(57.65, 87.27, 323.80°)
OKLaboklab(66.53% 0.1882 -0.1436)
OKLCHoklch(66.53% 0.237 322.7)
XYZxyz(44.3753, 25.5975, 77.4510)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451E6 #63E651
analogous
#8951E6 #D451E6 #E651AD
triadic
#D451E6 #E6D451 #51E6D4
tetradic
#D451E6 #E68951 #63E651 #51ADE6
square
#D451E6 #E68951 #63E651 #51ADE6
split-complementary
#D451E6 #ADE651 #51E689
monochromatic
#9418A5 #C41FDA #D451E6 #E187EE #EEBCF5

Accessibility & contrast

On white

3.43
#D451E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D451E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451E6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451E6#FFFFFF#000000##000000
##D451E61.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C81EA
Deuteranopia (green-blind)
#6690E2
Tritanopia (blue-blind)
#D76995
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d451e6;
/* rgb */ color: rgb(212, 81, 230);
/* oklch */ color: oklch(66.5% 0.237 322.7);
Tailwind
colors: {
  custom: {
    50: '#e58bee',
    500: '#d451e6',
    950: '#000000',
  },
}
SCSS
$custom: #d451e6;
$custom-light: #e58bee;
$custom-dark: #000000;
JSON
{
  "hex": "#d451e6",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 292.752,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6653,
    "c": 0.23666,
    "h": 322.7
  },
  "luminance": 0.25595
}

Semantic roles & 50–950 ramp

primary
#D451E6
secondary
#B4E5AD
accent
#D70E27
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D451E6

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

Preview Lab → · Contrast checker → · Palette generator →

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