#D451C7#D451C7

#D451C7 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.211 H 331.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D451C7
RGBrgb(212, 81, 199)
HSLhsl(306, 60%, 57%)
HSVhsv(306, 62%, 83%)
CMYKcmyk(0%, 61.8%, 6.1%, 16.9%)
CIE-LABlab(56.10, 65.19, -36.44)
CIE-LCHlch(56.10, 74.68, 330.80°)
OKLaboklab(64.9% 0.1864 -0.0998)
OKLCHoklch(64.9% 0.211 331.8)
XYZxyz(40.4026, 24.0084, 56.5279)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451C7 #51D45E
analogous
#9F51D4 #D451C7 #D45186
triadic
#D451C7 #C7D451 #51C7D4
tetradic
#D451C7 #D49F51 #51D45E #5186D4
square
#D451C7 #D49F51 #51D45E #5186D4
split-complementary
#D451C7 #86D451 #51D49F
monochromatic
#89227F #BA2EAC #D451C7 #E082D7 #ECB3E7

Accessibility & contrast

On white

3.62
#D451C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D451C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451C7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451C7#FFFFFF#000000##000000
##D451C71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#768DC4
Tritanopia (blue-blind)
#DC5D85
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d451c7;
/* rgb */ color: rgb(212, 81, 199);
/* oklch */ color: oklch(64.9% 0.211 331.8);
Tailwind
colors: {
  custom: {
    50: '#e48ad8',
    500: '#d451c7',
    950: '#000000',
  },
}
SCSS
$custom: #d451c7;
$custom-light: #e48ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#d451c7",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 305.954,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64897,
    "c": 0.21145,
    "h": 331.8
  },
  "luminance": 0.24005
}

Semantic roles & 50–950 ramp

primary
#D451C7
secondary
#A6DBAB
accent
#E45444
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D451C7

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

Preview Lab → · Contrast checker → · Palette generator →

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