#D451D8#D451D8

#D451D8 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.8% C 0.225 H 326.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D451D8
RGBrgb(212, 81, 216)
HSLhsl(298, 63%, 58%)
HSVhsv(298, 63%, 85%)
CMYKcmyk(1.9%, 62.5%, 0%, 15.3%)
CIE-LABlab(56.92, 67.99, -44.82)
CIE-LCHlch(56.92, 81.43, 326.61°)
OKLaboklab(65.77% 0.1878 -0.124)
OKLCHoklch(65.77% 0.225 326.6)
XYZxyz(42.4877, 24.8425, 67.5096)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451D8 #55D851
analogous
#9051D8 #D451D8 #D85198
triadic
#D451D8 #D8D451 #51D8D4
tetradic
#D451D8 #D89051 #55D851 #5198D8
square
#D451D8 #D89051 #55D851 #5198D8
split-complementary
#D451D8 #98D851 #51D890
monochromatic
#8B208F #BC2BC1 #D451D8 #E083E3 #EDB5EE

Accessibility & contrast

On white

3.52
#D451D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D451D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451D8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451D8#FFFFFF#000000##000000
##D451D81.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7EDC
Deuteranopia (green-blind)
#6E8ED4
Tritanopia (blue-blind)
#DA648E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d451d8;
/* rgb */ color: rgb(212, 81, 216);
/* oklch */ color: oklch(65.8% 0.225 326.6);
Tailwind
colors: {
  custom: {
    50: '#e58be4',
    500: '#d451d8',
    950: '#000000',
  },
}
SCSS
$custom: #d451d8;
$custom-light: #e58be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d451d8",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 298.222,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.22501,
    "h": 326.6
  },
  "luminance": 0.2484
}

Semantic roles & 50–950 ramp

primary
#D451D8
secondary
#A9DDA8
accent
#E64146
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D451D8

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

Preview Lab → · Contrast checker → · Palette generator →

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