#D45AF8#D45AF8

#D45AF8 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.5% C 0.241 H 317.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#D45AF8
RGBrgb(212, 90, 248)
HSLhsl(286, 92%, 66%)
HSVhsv(286, 64%, 97%)
CMYKcmyk(14.5%, 63.7%, 0%, 2.7%)
CIE-LABlab(59.97, 70.02, -57.89)
CIE-LCHlch(59.97, 90.85, 320.42°)
OKLaboklab(68.52% 0.1782 -0.1621)
OKLCHoklch(68.52% 0.241 317.7)
XYZxyz(47.7484, 28.0887, 91.6952)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45AF8 #7EF85A
analogous
#855AF8 #D45AF8 #F85ACD
triadic
#D45AF8 #F8D45A #5AF8D4
tetradic
#D45AF8 #F8855A #7EF85A #5ACDF8
square
#D45AF8 #F8855A #7EF85A #5ACDF8
split-complementary
#D45AF8 #CDF85A #5AF885
monochromatic
#A209CF #C51FF6 #D45AF8 #E395FA #F3CFFD

Accessibility & contrast

On white

3.17
#D45AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#D45AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45AF8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45AF8#FFFFFF#000000##000000
##D45AF81.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2189FD
Deuteranopia (green-blind)
#6094F4
Tritanopia (blue-blind)
#D376A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45af8;
/* rgb */ color: rgb(212, 90, 248);
/* oklch */ color: oklch(68.5% 0.241 317.7);
Tailwind
colors: {
  custom: {
    50: '#e590fb',
    500: '#d45af8',
    950: '#000000',
  },
}
SCSS
$custom: #d45af8;
$custom-light: #e590fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d45af8",
  "rgb": {
    "r": 212,
    "g": 90,
    "b": 248
  },
  "hsl": {
    "h": 286.329,
    "s": 91.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68519,
    "c": 0.2409,
    "h": 317.7
  },
  "luminance": 0.28087
}

Semantic roles & 50–950 ramp

primary
#D45AF8
secondary
#C9F1BD
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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