#D45AF6#D45AF6

#D45AF6 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.4% C 0.239 H 318.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#D45AF6
RGBrgb(212, 90, 246)
HSLhsl(287, 90%, 66%)
HSVhsv(287, 63%, 96%)
CMYKcmyk(13.8%, 63.4%, 0%, 3.5%)
CIE-LABlab(59.86, 69.65, -56.96)
CIE-LCHlch(59.86, 89.97, 320.72°)
OKLaboklab(68.4% 0.1782 -0.1594)
OKLCHoklch(68.4% 0.239 318.2)
XYZxyz(47.4398, 27.9652, 90.0698)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45AF6 #7CF65A
analogous
#865AF6 #D45AF6 #F65ACA
triadic
#D45AF6 #F6D45A #5AF6D4
tetradic
#D45AF6 #F6865A #7CF65A #5ACAF6
square
#D45AF6 #F6865A #7CF65A #5ACAF6
split-complementary
#D45AF6 #CAF65A #5AF686
monochromatic
#A10BCB #C520F3 #D45AF6 #E394F9 #F2CEFC

Accessibility & contrast

On white

3.19
#D45AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#D45AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45AF6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45AF6#FFFFFF#000000##000000
##D45AF61.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FB
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#D376A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45af6;
/* rgb */ color: rgb(212, 90, 246);
/* oklch */ color: oklch(68.4% 0.239 318.2);
Tailwind
colors: {
  custom: {
    50: '#e590fa',
    500: '#d45af6',
    950: '#000000',
  },
}
SCSS
$custom: #d45af6;
$custom-light: #e590fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d45af6",
  "rgb": {
    "r": 212,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 286.923,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68402,
    "c": 0.2391,
    "h": 318.2
  },
  "luminance": 0.27963
}

Semantic roles & 50–950 ramp

primary
#D45AF6
secondary
#C7F0BC
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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