#D45AF4#D45AF4

#D45AF4 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.3% C 0.237 H 318.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D45AF4
RGBrgb(212, 90, 244)
HSLhsl(288, 88%, 65%)
HSVhsv(288, 63%, 96%)
CMYKcmyk(13.1%, 63.1%, 0%, 4.3%)
CIE-LABlab(59.75, 69.27, -56.02)
CIE-LCHlch(59.75, 89.09, 321.03°)
OKLaboklab(68.29% 0.1782 -0.1567)
OKLCHoklch(68.29% 0.237 318.7)
XYZxyz(47.1345, 27.8431, 88.4619)
Luminance0.2784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45AF4 #7AF45A
analogous
#875AF4 #D45AF4 #F45AC7
triadic
#D45AF4 #F4D45A #5AF4D4
tetradic
#D45AF4 #F4875A #7AF45A #5AC7F4
square
#D45AF4 #F4875A #7AF45A #5AC7F4
split-complementary
#D45AF4 #C7F45A #5AF487
monochromatic
#A00DC6 #C521F0 #D45AF4 #E393F8 #F2CDFC

Accessibility & contrast

On white

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

On black

6.57
#D45AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45AF4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45AF4#FFFFFF#000000##000000
##D45AF41.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988F9
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#D4759F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45af4;
/* rgb */ color: rgb(212, 90, 244);
/* oklch */ color: oklch(68.3% 0.237 318.7);
Tailwind
colors: {
  custom: {
    50: '#e590f8',
    500: '#d45af4',
    950: '#000000',
  },
}
SCSS
$custom: #d45af4;
$custom-light: #e590f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d45af4",
  "rgb": {
    "r": 212,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 287.532,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68287,
    "c": 0.2373,
    "h": 318.7
  },
  "luminance": 0.27841
}

Semantic roles & 50–950 ramp

primary
#D45AF4
secondary
#C6EFBB
accent
#E40131
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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