#D45DEB#D45DEB

#D45DEB is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.1% C 0.225 H 320.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#D45DEB
RGBrgb(212, 93, 235)
HSLhsl(290, 78%, 64%)
HSVhsv(290, 60%, 92%)
CMYKcmyk(9.8%, 60.4%, 0%, 7.8%)
CIE-LABlab(59.73, 66.30, -51.04)
CIE-LCHlch(59.73, 83.67, 322.41°)
OKLaboklab(68.12% 0.1747 -0.1422)
OKLCHoklch(68.12% 0.225 320.9)
XYZxyz(46.0594, 27.8261, 81.5260)
Luminance0.2782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DEB #74EB5D
analogous
#8D5DEB #D45DEB #EB5DBB
triadic
#D45DEB #EBD45D #5DEBD4
tetradic
#D45DEB #EB8D5D #74EB5D #5DBBEB
square
#D45DEB #EB8D5D #74EB5D #5DBBEB
split-complementary
#D45DEB #BBEB5D #5DEB8D
monochromatic
#9D17B7 #C627E4 #D45DEB #E293F2 #F1CAF8

Accessibility & contrast

On white

3.20
#D45DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#D45DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DEB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DEB#FFFFFF#000000##000000
##D45DEB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#D6739C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45deb;
/* rgb */ color: rgb(212, 93, 235);
/* oklch */ color: oklch(68.1% 0.225 320.9);
Tailwind
colors: {
  custom: {
    50: '#e492f2',
    500: '#d45deb',
    950: '#000000',
  },
}
SCSS
$custom: #d45deb;
$custom-light: #e492f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d45deb",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 290.282,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6812,
    "c": 0.22521,
    "h": 320.9
  },
  "luminance": 0.27824
}

Semantic roles & 50–950 ramp

primary
#D45DEB
secondary
#C1EBB9
accent
#DA0B2D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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