#D45EF6#D45EF6

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

Color values

HEX#D45EF6
RGBrgb(212, 94, 246)
HSLhsl(287, 89%, 67%)
HSVhsv(287, 62%, 96%)
CMYKcmyk(13.8%, 61.8%, 0%, 3.5%)
CIE-LABlab(60.48, 67.93, -55.97)
CIE-LCHlch(60.48, 88.02, 320.52°)
OKLaboklab(68.85% 0.1737 -0.1565)
OKLCHoklch(68.85% 0.234 318)
XYZxyz(47.7863, 28.6582, 90.1853)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45EF6 #80F65E
analogous
#885EF6 #D45EF6 #F65ECC
triadic
#D45EF6 #F6D45E #5EF6D4
tetradic
#D45EF6 #F6885E #80F65E #5ECCF6
square
#D45EF6 #F6885E #80F65E #5ECCF6
split-complementary
#D45EF6 #CCF65E #5EF688
monochromatic
#A30CCE #C524F3 #D45EF6 #E398F9 #F3D2FC

Accessibility & contrast

On white

3.12
#D45EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#D45EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45EF6
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45EF6#FFFFFF#000000##000000
##D45EF61.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#308AFB
Deuteranopia (green-blind)
#6496F2
Tritanopia (blue-blind)
#D378A2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d45ef6;
/* rgb */ color: rgb(212, 94, 246);
/* oklch */ color: oklch(68.9% 0.234 318.0);
Tailwind
colors: {
  custom: {
    50: '#e592fa',
    500: '#d45ef6',
    950: '#000000',
  },
}
SCSS
$custom: #d45ef6;
$custom-light: #e592fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ef6",
  "rgb": {
    "r": 212,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 286.579,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68852,
    "c": 0.23382,
    "h": 318
  },
  "luminance": 0.28656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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