#D45EF7#D45EF7

#D45EF7 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.9% C 0.235 H 317.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#D45EF7
RGBrgb(212, 94, 247)
HSLhsl(286, 91%, 67%)
HSVhsv(286, 62%, 97%)
CMYKcmyk(14.2%, 61.9%, 0%, 3.1%)
CIE-LABlab(60.53, 68.12, -56.43)
CIE-LCHlch(60.53, 88.46, 320.36°)
OKLaboklab(68.91% 0.1737 -0.1579)
OKLCHoklch(68.91% 0.235 317.7)
XYZxyz(47.9402, 28.7198, 90.9959)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EF7 #81F75E
analogous
#885EF7 #D45EF7 #F75ECD
triadic
#D45EF7 #F7D45E #5EF7D4
tetradic
#D45EF7 #F7885E #81F75E #5ECDF7
square
#D45EF7 #F7885E #81F75E #5ECDF7
split-complementary
#D45EF7 #CDF75E #5EF788
monochromatic
#A30AD0 #C424F4 #D45EF7 #E498FA #F3D3FD

Accessibility & contrast

On white

3.11
#D45EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#D45EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EF7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EF7#FFFFFF#000000##000000
##D45EF71.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8AFC
Deuteranopia (green-blind)
#6496F3
Tritanopia (blue-blind)
#D379A2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d45ef7;
/* rgb */ color: rgb(212, 94, 247);
/* oklch */ color: oklch(68.9% 0.235 317.7);
Tailwind
colors: {
  custom: {
    50: '#e592fa',
    500: '#d45ef7',
    950: '#000000',
  },
}
SCSS
$custom: #d45ef7;
$custom-light: #e592fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ef7",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 286.275,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68909,
    "c": 0.23474,
    "h": 317.7
  },
  "luminance": 0.28718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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