#D45CFC#D45CFC

#D45CFC is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 69.0% C 0.242 H 316.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#D45CFC
RGBrgb(212, 92, 252)
HSLhsl(285, 96%, 67%)
HSVhsv(285, 63%, 99%)
CMYKcmyk(15.9%, 63.5%, 0%, 1.2%)
CIE-LABlab(60.50, 69.94, -59.25)
CIE-LCHlch(60.50, 91.66, 319.73°)
OKLaboklab(68.97% 0.1759 -0.1661)
OKLCHoklch(68.97% 0.242 316.6)
XYZxyz(48.5466, 28.6815, 95.0554)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CFC #84FC5C
analogous
#845CFC #D45CFC #FC5CD4
triadic
#D45CFC #FCD45C #5CFCD4
tetradic
#D45CFC #FC845C #84FC5C #5CD4FC
square
#D45CFC #FC845C #84FC5C #5CD4FC
split-complementary
#D45CFC #D4FC5C #5CFC84
monochromatic
#A404DA #C420FB #D45CFC #E498FD #F4D4FE

Accessibility & contrast

On white

3.12
#D45CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#D45CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CFC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CFC#FFFFFF#000000##000000
##D45CFC1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8AFF
Deuteranopia (green-blind)
#5E95F8
Tritanopia (blue-blind)
#D279A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d45cfc;
/* rgb */ color: rgb(212, 92, 252);
/* oklch */ color: oklch(69.0% 0.242 316.6);
Tailwind
colors: {
  custom: {
    50: '#e591fe',
    500: '#d45cfc',
    950: '#000000',
  },
}
SCSS
$custom: #d45cfc;
$custom-light: #e591fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cfc",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 252
  },
  "hsl": {
    "h": 285,
    "s": 96.386,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68974,
    "c": 0.24194,
    "h": 316.6
  },
  "luminance": 0.2868
}

Semantic roles & 50–950 ramp

primary
#D45CFC
secondary
#CDF3C1
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D45CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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