#D45EFC#D45EFC

#D45EFC is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.2% C 0.239 H 316.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#D45EFC
RGBrgb(212, 94, 252)
HSLhsl(285, 96%, 68%)
HSVhsv(285, 63%, 99%)
CMYKcmyk(15.9%, 62.7%, 0%, 1.2%)
CIE-LABlab(60.81, 69.08, -58.76)
CIE-LCHlch(60.81, 90.69, 319.62°)
OKLaboklab(69.2% 0.1737 -0.1647)
OKLCHoklch(69.2% 0.239 316.5)
XYZxyz(48.7221, 29.0326, 95.1139)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EFC #86FC5E
analogous
#855EFC #D45EFC #FC5ED5
triadic
#D45EFC #FCD45E #5EFCD4
tetradic
#D45EFC #FC855E #86FC5E #5ED5FC
square
#D45EFC #FC855E #86FC5E #5ED5FC
split-complementary
#D45EFC #D5FC5E #5EFC85
monochromatic
#A504DC #C422FB #D45EFC #E49AFD #F4D6FE

Accessibility & contrast

On white

3.09
#D45EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#D45EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EFC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EFC#FFFFFF#000000##000000
##D45EFC1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#258BFF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#D27AA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d45efc;
/* rgb */ color: rgb(212, 94, 252);
/* oklch */ color: oklch(69.2% 0.239 316.5);
Tailwind
colors: {
  custom: {
    50: '#e593fe',
    500: '#d45efc',
    950: '#000000',
  },
}
SCSS
$custom: #d45efc;
$custom-light: #e593fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d45efc",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 284.81,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69198,
    "c": 0.23933,
    "h": 316.5
  },
  "luminance": 0.29031
}

Semantic roles & 50–950 ramp

primary
#D45EFC
secondary
#CFF3C3
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D45EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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