#D45AFD#D45AFD

#D45AFD is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.8% C 0.245 H 316.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#D45AFD
RGBrgb(212, 90, 253)
HSLhsl(285, 98%, 67%)
HSVhsv(285, 64%, 99%)
CMYKcmyk(16.2%, 64.4%, 0%, 0.8%)
CIE-LABlab(60.25, 70.98, -60.20)
CIE-LCHlch(60.25, 93.07, 319.70°)
OKLaboklab(68.81% 0.1781 -0.1689)
OKLCHoklch(68.81% 0.245 316.5)
XYZxyz(48.5345, 28.4031, 95.8352)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45AFD #83FD5A
analogous
#835AFD #D45AFD #FD5AD5
triadic
#D45AFD #FDD45A #5AFDD4
tetradic
#D45AFD #FD835A #83FD5A #5AD5FD
square
#D45AFD #FD835A #83FD5A #5AD5FD
split-complementary
#D45AFD #D5FD5A #5AFD83
monochromatic
#A403DA #C41EFC #D45AFD #E496FE #F4D3FE

Accessibility & contrast

On white

3.14
#D45AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#D45AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45AFD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45AFD#FFFFFF#000000##000000
##D45AFD1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#138AFF
Deuteranopia (green-blind)
#5C95F9
Tritanopia (blue-blind)
#D278A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d45afd;
/* rgb */ color: rgb(212, 90, 253);
/* oklch */ color: oklch(68.8% 0.245 316.5);
Tailwind
colors: {
  custom: {
    50: '#e590ff',
    500: '#d45afd',
    950: '#000000',
  },
}
SCSS
$custom: #d45afd;
$custom-light: #e590ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d45afd",
  "rgb": {
    "r": 212,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 284.908,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68813,
    "c": 0.24542,
    "h": 316.5
  },
  "luminance": 0.28401
}

Semantic roles & 50–950 ramp

primary
#D45AFD
secondary
#CDF3C0
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D45AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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