#D451E1#D451E1

#D451E1 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.3% C 0.232 H 324.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#D451E1
RGBrgb(212, 81, 225)
HSLhsl(295, 71%, 60%)
HSVhsv(295, 64%, 88%)
CMYKcmyk(5.8%, 64%, 0%, 11.8%)
CIE-LABlab(57.39, 69.54, -49.16)
CIE-LCHlch(57.39, 85.16, 324.74°)
OKLaboklab(66.25% 0.1881 -0.1366)
OKLCHoklch(66.25% 0.232 324)
XYZxyz(43.6832, 25.3207, 73.8060)
Luminance0.2532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451E1 #5EE151
analogous
#8C51E1 #D451E1 #E151A6
triadic
#D451E1 #E1D451 #51E1D4
tetradic
#D451E1 #E18C51 #5EE151 #51A6E1
square
#D451E1 #E18C51 #5EE151 #51A6E1
split-complementary
#D451E1 #A6E151 #51E18C
monochromatic
#911B9D #C124D1 #D451E1 #E185EA #EEB9F3

Accessibility & contrast

On white

3.46
#D451E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#D451E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451E1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451E1#FFFFFF#000000##000000
##D451E11.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E5
Deuteranopia (green-blind)
#698FDD
Tritanopia (blue-blind)
#D86792
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d451e1;
/* rgb */ color: rgb(212, 81, 225);
/* oklch */ color: oklch(66.3% 0.232 324.0);
Tailwind
colors: {
  custom: {
    50: '#e58beb',
    500: '#d451e1',
    950: '#000000',
  },
}
SCSS
$custom: #d451e1;
$custom-light: #e58beb;
$custom-dark: #000000;
JSON
{
  "hex": "#d451e1",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 294.583,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.23246,
    "h": 324
  },
  "luminance": 0.25318
}

Semantic roles & 50–950 ramp

primary
#D451E1
secondary
#B0E3AB
accent
#ED3A4B
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D451E1

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

Preview Lab → · Contrast checker → · Palette generator →

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