#D45DF6#D45DF6

#D45DF6 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.7% C 0.235 H 318.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#D45DF6
RGBrgb(212, 93, 246)
HSLhsl(287, 89%, 66%)
HSVhsv(287, 62%, 96%)
CMYKcmyk(13.8%, 62.2%, 0%, 3.5%)
CIE-LABlab(60.32, 68.36, -56.22)
CIE-LCHlch(60.32, 88.51, 320.57°)
OKLaboklab(68.74% 0.1748 -0.1573)
OKLCHoklch(68.74% 0.235 318)
XYZxyz(47.6980, 28.4815, 90.1559)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DF6 #7FF65D
analogous
#885DF6 #D45DF6 #F65DCB
triadic
#D45DF6 #F6D45D #5DF6D4
tetradic
#D45DF6 #F6885D #7FF65D #5DCBF6
square
#D45DF6 #F6885D #7FF65D #5DCBF6
split-complementary
#D45DF6 #CBF65D #5DF688
monochromatic
#A20BCD #C523F3 #D45DF6 #E397F9 #F3D1FC

Accessibility & contrast

On white

3.14
#D45DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D45DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DF6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DF6#FFFFFF#000000##000000
##D45DF61.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFB
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#D378A2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45df6;
/* rgb */ color: rgb(212, 93, 246);
/* oklch */ color: oklch(68.7% 0.235 318.0);
Tailwind
colors: {
  custom: {
    50: '#e592fa',
    500: '#d45df6',
    950: '#000000',
  },
}
SCSS
$custom: #d45df6;
$custom-light: #e592fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d45df6",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 286.667,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68738,
    "c": 0.23516,
    "h": 318
  },
  "luminance": 0.2848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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