#D45FFC#D45FFC

#D45FFC is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.3% C 0.238 H 316.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#D45FFC
RGBrgb(212, 95, 252)
HSLhsl(285, 96%, 68%)
HSVhsv(285, 62%, 99%)
CMYKcmyk(15.9%, 62.3%, 0%, 1.2%)
CIE-LABlab(60.97, 68.65, -58.50)
CIE-LCHlch(60.97, 90.19, 319.56°)
OKLaboklab(69.31% 0.1725 -0.164)
OKLCHoklch(69.31% 0.238 316.5)
XYZxyz(48.8116, 29.2116, 95.1438)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FFC #87FC5F
analogous
#855FFC #D45FFC #FC5FD6
triadic
#D45FFC #FCD45F #5FFCD4
tetradic
#D45FFC #FC855F #87FC5F #5FD6FC
square
#D45FFC #FC855F #87FC5F #5FD6FC
split-complementary
#D45FFC #D6FC5F #5FFC85
monochromatic
#A504DC #C423FB #D45FFC #E49BFD #F4D7FE

Accessibility & contrast

On white

3.07
#D45FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#D45FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FFC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FFC#FFFFFF#000000##000000
##D45FFC1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#288CFF
Deuteranopia (green-blind)
#6197F8
Tritanopia (blue-blind)
#D27BA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d45ffc;
/* rgb */ color: rgb(212, 95, 252);
/* oklch */ color: oklch(69.3% 0.238 316.5);
Tailwind
colors: {
  custom: {
    50: '#e593fe',
    500: '#d45ffc',
    950: '#000000',
  },
}
SCSS
$custom: #d45ffc;
$custom-light: #e593fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d45ffc",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 284.713,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69312,
    "c": 0.23802,
    "h": 316.5
  },
  "luminance": 0.2921
}

Semantic roles & 50–950 ramp

primary
#D45FFC
secondary
#D0F3C3
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D45FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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