#D45AF7#D45AF7

#D45AF7 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.5% C 0.240 H 317.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#D45AF7
RGBrgb(212, 90, 247)
HSLhsl(287, 91%, 66%)
HSVhsv(287, 64%, 97%)
CMYKcmyk(14.2%, 63.6%, 0%, 3.1%)
CIE-LABlab(59.91, 69.83, -57.42)
CIE-LCHlch(59.91, 90.41, 320.57°)
OKLaboklab(68.46% 0.1782 -0.1608)
OKLCHoklch(68.46% 0.24 317.9)
XYZxyz(47.5937, 28.0268, 90.8804)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45AF7 #7DF75A
analogous
#855AF7 #D45AF7 #F75ACB
triadic
#D45AF7 #F7D45A #5AF7D4
tetradic
#D45AF7 #F7855A #7DF75A #5ACBF7
square
#D45AF7 #F7855A #7DF75A #5ACBF7
split-complementary
#D45AF7 #CBF75A #5AF785
monochromatic
#A10ACD #C520F4 #D45AF7 #E394FA #F2CFFD

Accessibility & contrast

On white

3.18
#D45AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#D45AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45AF7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45AF7#FFFFFF#000000##000000
##D45AF71.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2488FC
Deuteranopia (green-blind)
#6094F3
Tritanopia (blue-blind)
#D376A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45af7;
/* rgb */ color: rgb(212, 90, 247);
/* oklch */ color: oklch(68.5% 0.240 317.9);
Tailwind
colors: {
  custom: {
    50: '#e590fa',
    500: '#d45af7',
    950: '#000000',
  },
}
SCSS
$custom: #d45af7;
$custom-light: #e590fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d45af7",
  "rgb": {
    "r": 212,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 286.624,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68461,
    "c": 0.24,
    "h": 317.9
  },
  "luminance": 0.28025
}

Semantic roles & 50–950 ramp

primary
#D45AF7
secondary
#C8F0BD
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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