#D451E2#D451E2

#D451E2 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.233 H 323.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#D451E2
RGBrgb(212, 81, 226)
HSLhsl(294, 71%, 60%)
HSVhsv(294, 64%, 89%)
CMYKcmyk(6.2%, 64.2%, 0%, 11.4%)
CIE-LABlab(57.44, 69.71, -49.64)
CIE-LCHlch(57.44, 85.58, 324.55°)
OKLaboklab(66.31% 0.1881 -0.138)
OKLCHoklch(66.31% 0.233 323.7)
XYZxyz(43.8200, 25.3754, 74.5266)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451E2 #5FE251
analogous
#8B51E2 #D451E2 #E251A7
triadic
#D451E2 #E2D451 #51E2D4
tetradic
#D451E2 #E28B51 #5FE251 #51A7E2
square
#D451E2 #E28B51 #5FE251 #51A7E2
split-complementary
#D451E2 #A7E251 #51E28B
monochromatic
#911A9E #C223D3 #D451E2 #E185EB #EEBAF3

Accessibility & contrast

On white

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

On black

6.07
#D451E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451E2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451E2#FFFFFF#000000##000000
##D451E21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3180E6
Deuteranopia (green-blind)
#688FDE
Tritanopia (blue-blind)
#D86893
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d451e2;
/* rgb */ color: rgb(212, 81, 226);
/* oklch */ color: oklch(66.3% 0.233 323.7);
Tailwind
colors: {
  custom: {
    50: '#e58bec',
    500: '#d451e2',
    950: '#000000',
  },
}
SCSS
$custom: #d451e2;
$custom-light: #e58bec;
$custom-dark: #000000;
JSON
{
  "hex": "#d451e2",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 294.207,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66307,
    "c": 0.23329,
    "h": 323.7
  },
  "luminance": 0.25373
}

Semantic roles & 50–950 ramp

primary
#D451E2
secondary
#B1E3AC
accent
#D31225
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D451E2

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

Preview Lab → · Contrast checker → · Palette generator →

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