#D451CD#D451CD

#D451CD is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.216 H 329.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#D451CD
RGBrgb(212, 81, 205)
HSLhsl(303, 60%, 57%)
HSVhsv(303, 62%, 83%)
CMYKcmyk(0%, 61.8%, 3.3%, 16.9%)
CIE-LABlab(56.38, 66.16, -39.42)
CIE-LCHlch(56.38, 77.01, 329.21°)
OKLaboklab(65.2% 0.187 -0.1084)
OKLCHoklch(65.2% 0.216 329.9)
XYZxyz(41.1130, 24.2926, 60.2693)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451CD #51D458
analogous
#9951D4 #D451CD #D4518C
triadic
#D451CD #CDD451 #51CDD4
tetradic
#D451CD #D49951 #51D458 #518CD4
square
#D451CD #D49951 #51D458 #518CD4
split-complementary
#D451CD #8CD451 #51D499
monochromatic
#892283 #BA2EB2 #D451CD #E082DB #ECB3E9

Accessibility & contrast

On white

3.58
#D451CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#D451CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451CD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451CD#FFFFFF#000000##000000
##D451CD1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#DB5F88
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d451cd;
/* rgb */ color: rgb(212, 81, 205);
/* oklch */ color: oklch(65.2% 0.216 329.9);
Tailwind
colors: {
  custom: {
    50: '#e48adc',
    500: '#d451cd',
    950: '#000000',
  },
}
SCSS
$custom: #d451cd;
$custom-light: #e48adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d451cd",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 303.206,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.21614,
    "h": 329.9
  },
  "luminance": 0.2429
}

Semantic roles & 50–950 ramp

primary
#D451CD
secondary
#A6DBA9
accent
#E44D44
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D451CD

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

Preview Lab → · Contrast checker → · Palette generator →

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