#D45DF7#D45DF7

#D45DF7 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.8% C 0.236 H 317.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#D45DF7
RGBrgb(212, 93, 247)
HSLhsl(286, 91%, 67%)
HSVhsv(286, 62%, 97%)
CMYKcmyk(14.2%, 62.3%, 0%, 3.1%)
CIE-LABlab(60.38, 68.55, -56.68)
CIE-LCHlch(60.38, 88.95, 320.41°)
OKLaboklab(68.8% 0.1748 -0.1586)
OKLCHoklch(68.8% 0.236 317.8)
XYZxyz(47.8519, 28.5431, 90.9664)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DF7 #80F75D
analogous
#875DF7 #D45DF7 #F75DCD
triadic
#D45DF7 #F7D45D #5DF7D4
tetradic
#D45DF7 #F7875D #80F75D #5DCDF7
square
#D45DF7 #F7875D #80F75D #5DCDF7
split-complementary
#D45DF7 #CDF75D #5DF787
monochromatic
#A30ACF #C523F4 #D45DF7 #E397FA #F3D2FD

Accessibility & contrast

On white

3.13
#D45DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#D45DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DF7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DF7#FFFFFF#000000##000000
##D45DF71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFC
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#D378A2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d45df7;
/* rgb */ color: rgb(212, 93, 247);
/* oklch */ color: oklch(68.8% 0.236 317.8);
Tailwind
colors: {
  custom: {
    50: '#e592fa',
    500: '#d45df7',
    950: '#000000',
  },
}
SCSS
$custom: #d45df7;
$custom-light: #e592fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d45df7",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 286.364,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68795,
    "c": 0.23607,
    "h": 317.8
  },
  "luminance": 0.28541
}

Semantic roles & 50–950 ramp

primary
#D45DF7
secondary
#CAF1BF
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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