#D45AF5#D45AF5

#D45AF5 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.3% C 0.238 H 318.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#D45AF5
RGBrgb(212, 90, 245)
HSLhsl(287, 89%, 66%)
HSVhsv(287, 63%, 96%)
CMYKcmyk(13.5%, 63.3%, 0%, 3.9%)
CIE-LABlab(59.80, 69.46, -56.49)
CIE-LCHlch(59.80, 89.53, 320.88°)
OKLaboklab(68.35% 0.1782 -0.158)
OKLCHoklch(68.35% 0.238 318.4)
XYZxyz(47.2867, 27.9040, 89.2637)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45AF5 #7BF55A
analogous
#865AF5 #D45AF5 #F55AC8
triadic
#D45AF5 #F5D45A #5AF5D4
tetradic
#D45AF5 #F5865A #7BF55A #5AC8F5
square
#D45AF5 #F5865A #7BF55A #5AC8F5
split-complementary
#D45AF5 #C8F55A #5AF586
monochromatic
#A00CC8 #C520F2 #D45AF5 #E394F8 #F2CDFC

Accessibility & contrast

On white

3.19
#D45AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#D45AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45AF5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45AF5#FFFFFF#000000##000000
##D45AF51.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2888FA
Deuteranopia (green-blind)
#6294F1
Tritanopia (blue-blind)
#D475A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45af5;
/* rgb */ color: rgb(212, 90, 245);
/* oklch */ color: oklch(68.3% 0.238 318.4);
Tailwind
colors: {
  custom: {
    50: '#e590f9',
    500: '#d45af5',
    950: '#000000',
  },
}
SCSS
$custom: #d45af5;
$custom-light: #e590f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45af5",
  "rgb": {
    "r": 212,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 287.226,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68345,
    "c": 0.23821,
    "h": 318.4
  },
  "luminance": 0.27902
}

Semantic roles & 50–950 ramp

primary
#D45AF5
secondary
#C7EFBC
accent
#E50031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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