#D45AF1#D45AF1

#D45AF1 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.1% C 0.235 H 319.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#D45AF1
RGBrgb(212, 90, 241)
HSLhsl(288, 84%, 65%)
HSVhsv(288, 63%, 95%)
CMYKcmyk(12%, 62.7%, 0%, 5.5%)
CIE-LABlab(59.58, 68.71, -54.62)
CIE-LCHlch(59.58, 87.77, 321.52°)
OKLaboklab(68.12% 0.1782 -0.1526)
OKLCHoklch(68.12% 0.235 319.4)
XYZxyz(46.6827, 27.6624, 86.0824)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45AF1 #77F15A
analogous
#895AF1 #D45AF1 #F15AC2
triadic
#D45AF1 #F1D45A #5AF1D4
tetradic
#D45AF1 #F1895A #77F15A #5AC2F1
square
#D45AF1 #F1895A #77F15A #5AC2F1
split-complementary
#D45AF1 #C2F15A #5AF189
monochromatic
#9E10C0 #C522EC #D45AF1 #E392F6 #F1CBFB

Accessibility & contrast

On white

3.21
#D45AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#D45AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45AF1
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45AF1#FFFFFF#000000##000000
##D45AF11.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E87F6
Deuteranopia (green-blind)
#6594ED
Tritanopia (blue-blind)
#D4749E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d45af1;
/* rgb */ color: rgb(212, 90, 241);
/* oklch */ color: oklch(68.1% 0.235 319.4);
Tailwind
colors: {
  custom: {
    50: '#e590f6',
    500: '#d45af1',
    950: '#000000',
  },
}
SCSS
$custom: #d45af1;
$custom-light: #e590f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d45af1",
  "rgb": {
    "r": 212,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 288.477,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68115,
    "c": 0.23462,
    "h": 319.4
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#D45AF1
secondary
#C4EDBA
accent
#E1052F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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