#D45DFC#D45DFC

#D45DFC is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 69.1% C 0.241 H 316.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#D45DFC
RGBrgb(212, 93, 252)
HSLhsl(285, 96%, 68%)
HSVhsv(285, 63%, 99%)
CMYKcmyk(15.9%, 63.1%, 0%, 1.2%)
CIE-LABlab(60.65, 69.51, -59.00)
CIE-LCHlch(60.65, 91.18, 319.67°)
OKLaboklab(69.09% 0.1748 -0.1654)
OKLCHoklch(69.09% 0.241 316.6)
XYZxyz(48.6338, 28.8559, 95.0845)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DFC #85FC5D
analogous
#855DFC #D45DFC #FC5DD4
triadic
#D45DFC #FCD45D #5DFCD4
tetradic
#D45DFC #FC855D #85FC5D #5DD4FC
square
#D45DFC #FC855D #85FC5D #5DD4FC
split-complementary
#D45DFC #D4FC5D #5DFC85
monochromatic
#A504DB #C421FB #D45DFC #E499FD #F4D5FE

Accessibility & contrast

On white

3.10
#D45DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#D45DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DFC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DFC#FFFFFF#000000##000000
##D45DFC1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#228BFF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#D27AA5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d45dfc;
/* rgb */ color: rgb(212, 93, 252);
/* oklch */ color: oklch(69.1% 0.241 316.6);
Tailwind
colors: {
  custom: {
    50: '#e592fe',
    500: '#d45dfc',
    950: '#000000',
  },
}
SCSS
$custom: #d45dfc;
$custom-light: #e592fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d45dfc",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 284.906,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69086,
    "c": 0.24064,
    "h": 316.6
  },
  "luminance": 0.28854
}

Semantic roles & 50–950 ramp

primary
#D45DFC
secondary
#CEF3C2
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D45DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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