#D45EFE#D45EFE

#D45EFE is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.3% C 0.241 H 316.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D45EFE
RGBrgb(212, 94, 254)
HSLhsl(284, 99%, 68%)
HSVhsv(284, 63%, 100%)
CMYKcmyk(16.5%, 63%, 0%, 0.4%)
CIE-LABlab(60.92, 69.47, -59.68)
CIE-LCHlch(60.92, 91.58, 319.33°)
OKLaboklab(69.32% 0.1736 -0.1674)
OKLCHoklch(69.32% 0.241 316)
XYZxyz(49.0407, 29.1600, 96.7919)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EFE #88FE5E
analogous
#845EFE #D45EFE #FE5ED8
triadic
#D45EFE #FED45E #5EFED4
tetradic
#D45EFE #FE845E #88FE5E #5ED8FE
square
#D45EFE #FE845E #88FE5E #5ED8FE
split-complementary
#D45EFE #D8FE5E #5EFE84
monochromatic
#A601E0 #C421FE #D45EFE #E49BFE #F4D8FF

Accessibility & contrast

On white

3.07
#D45EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D45EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EFE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EFE#FFFFFF#000000##000000
##D45EFE1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#218CFF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#D17BA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d45efe;
/* rgb */ color: rgb(212, 94, 254);
/* oklch */ color: oklch(69.3% 0.241 316.0);
Tailwind
colors: {
  custom: {
    50: '#e593ff',
    500: '#d45efe',
    950: '#000000',
  },
}
SCSS
$custom: #d45efe;
$custom-light: #e593ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d45efe",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 254
  },
  "hsl": {
    "h": 284.25,
    "s": 98.765,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69316,
    "c": 0.24118,
    "h": 316
  },
  "luminance": 0.29158
}

Semantic roles & 50–950 ramp

primary
#D45EFE
secondary
#D0F4C4
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D45EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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