#D45AFF#D45AFF

#D45AFF is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.9% C 0.247 H 316.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#D45AFF
RGBrgb(212, 90, 255)
HSLhsl(284, 100%, 68%)
HSVhsv(284, 65%, 100%)
CMYKcmyk(16.9%, 64.7%, 0%, 0%)
CIE-LABlab(60.37, 71.36, -61.12)
CIE-LCHlch(60.37, 93.96, 319.42°)
OKLaboklab(68.93% 0.178 -0.1716)
OKLCHoklch(68.93% 0.247 316)
XYZxyz(48.8548, 28.5312, 97.5219)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45AFF #85FF5A
analogous
#825AFF #D45AFF #FF5AD7
triadic
#D45AFF #FFD45A #5AFFD4
tetradic
#D45AFF #FF825A #85FF5A #5AD7FF
square
#D45AFF #FF825A #85FF5A #5AD7FF
split-complementary
#D45AFF #D7FF5A #5AFF82
monochromatic
#A500DF #C41DFF #D45AFF #E497FF #F4D4FF

Accessibility & contrast

On white

3.13
#D45AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#D45AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45AFF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45AFF#FFFFFF#000000##000000
##D45AFF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A8AFF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#D179A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d45aff;
/* rgb */ color: rgb(212, 90, 255);
/* oklch */ color: oklch(68.9% 0.247 316.0);
Tailwind
colors: {
  custom: {
    50: '#e590ff',
    500: '#d45aff',
    950: '#000000',
  },
}
SCSS
$custom: #d45aff;
$custom-light: #e590ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d45aff",
  "rgb": {
    "r": 212,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 284.364,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68932,
    "c": 0.24723,
    "h": 316
  },
  "luminance": 0.28529
}

Semantic roles & 50–950 ramp

primary
#D45AFF
secondary
#CEF4C1
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D45AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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