#D45FD8#D45FD8

#D45FD8 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.4% C 0.206 H 326.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#D45FD8
RGBrgb(212, 95, 216)
HSLhsl(298, 61%, 61%)
HSVhsv(298, 56%, 85%)
CMYKcmyk(1.9%, 56%, 0%, 15.3%)
CIE-LABlab(59.11, 61.99, -41.37)
CIE-LCHlch(59.11, 74.53, 326.28°)
OKLaboklab(67.36% 0.171 -0.1141)
OKLCHoklch(67.36% 0.206 326.3)
XYZxyz(43.6374, 27.1419, 67.8929)
Luminance0.2714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FD8 #63D85F
analogous
#975FD8 #D45FD8 #D85F9F
triadic
#D45FD8 #D8D45F #5FD8D4
tetradic
#D45FD8 #D8975F #63D85F #5F9FD8
square
#D45FD8 #D8975F #63D85F #5F9FD8
split-complementary
#D45FD8 #9FD85F #5FD897
monochromatic
#942598 #C431C9 #D45FD8 #E190E4 #EEC1F0

Accessibility & contrast

On white

3.27
#D45FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#D45FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FD8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FD8#FFFFFF#000000##000000
##D45FD81.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DC
Deuteranopia (green-blind)
#7793D5
Tritanopia (blue-blind)
#D96E93
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d45fd8;
/* rgb */ color: rgb(212, 95, 216);
/* oklch */ color: oklch(67.4% 0.206 326.3);
Tailwind
colors: {
  custom: {
    50: '#e492e4',
    500: '#d45fd8',
    950: '#000000',
  },
}
SCSS
$custom: #d45fd8;
$custom-light: #e492e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fd8",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 298.017,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67355,
    "c": 0.20557,
    "h": 326.3
  },
  "luminance": 0.27139
}

Semantic roles & 50–950 ramp

primary
#D45FD8
secondary
#B4E0B3
accent
#C81D23
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #D45FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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