#D45CF2#D45CF2

#D45CF2 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.4% C 0.233 H 319.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#D45CF2
RGBrgb(212, 92, 242)
HSLhsl(288, 85%, 65%)
HSVhsv(288, 62%, 95%)
CMYKcmyk(12.4%, 62%, 0%, 5.1%)
CIE-LABlab(59.95, 68.04, -54.59)
CIE-LCHlch(59.95, 87.24, 321.26°)
OKLaboklab(68.4% 0.176 -0.1525)
OKLCHoklch(68.4% 0.233 319.1)
XYZxyz(47.0034, 28.0642, 86.9282)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CF2 #7AF25C
analogous
#895CF2 #D45CF2 #F25CC5
triadic
#D45CF2 #F2D45C #5CF2D4
tetradic
#D45CF2 #F2895C #7AF25C #5CC5F2
square
#D45CF2 #F2895C #7AF25C #5CC5F2
split-complementary
#D45CF2 #C5F25C #5CF289
monochromatic
#A010C4 #C523ED #D45CF2 #E395F7 #F2CDFB

Accessibility & contrast

On white

3.18
#D45CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#D45CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CF2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CF2#FFFFFF#000000##000000
##D45CF21.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F7
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#D4759F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d45cf2;
/* rgb */ color: rgb(212, 92, 242);
/* oklch */ color: oklch(68.4% 0.233 319.1);
Tailwind
colors: {
  custom: {
    50: '#e591f7',
    500: '#d45cf2',
    950: '#000000',
  },
}
SCSS
$custom: #d45cf2;
$custom-light: #e591f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cf2",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 288,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68396,
    "c": 0.23286,
    "h": 319.1
  },
  "luminance": 0.28062
}

Semantic roles & 50–950 ramp

primary
#D45CF2
secondary
#C6EEBC
accent
#E20430
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D45CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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