#D45FF2#D45FF2

#D45FF2 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.7% C 0.229 H 318.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#D45FF2
RGBrgb(212, 95, 242)
HSLhsl(288, 85%, 66%)
HSVhsv(288, 61%, 95%)
CMYKcmyk(12.4%, 60.7%, 0%, 5.1%)
CIE-LABlab(60.42, 66.73, -53.84)
CIE-LCHlch(60.42, 85.74, 321.11°)
OKLaboklab(68.74% 0.1725 -0.1503)
OKLCHoklch(68.74% 0.229 318.9)
XYZxyz(47.2685, 28.5943, 87.0166)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FF2 #7DF25F
analogous
#8A5FF2 #D45FF2 #F25FC6
triadic
#D45FF2 #F2D45F #5FF2D4
tetradic
#D45FF2 #F28A5F #7DF25F #5FC6F2
square
#D45FF2 #F28A5F #7DF25F #5FC6F2
split-complementary
#D45FF2 #C6F25F #5FF28A
monochromatic
#A110C6 #C526ED #D45FF2 #E398F7 #F2D0FB

Accessibility & contrast

On white

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

On black

6.72
#D45FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FF2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FF2#FFFFFF#000000##000000
##D45FF21.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF7
Deuteranopia (green-blind)
#6896EE
Tritanopia (blue-blind)
#D477A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d45ff2;
/* rgb */ color: rgb(212, 95, 242);
/* oklch */ color: oklch(68.7% 0.229 318.9);
Tailwind
colors: {
  custom: {
    50: '#e493f7',
    500: '#d45ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d45ff2;
$custom-light: #e493f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ff2",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 287.755,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68741,
    "c": 0.22881,
    "h": 318.9
  },
  "luminance": 0.28592
}

Semantic roles & 50–950 ramp

primary
#D45FF2
secondary
#C8EFBE
accent
#E10431
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D45FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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