#D45FDF#D45FDF

#D45FDF is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.7% C 0.212 H 324.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#D45FDF
RGBrgb(212, 95, 223)
HSLhsl(295, 67%, 62%)
HSVhsv(295, 57%, 87%)
CMYKcmyk(4.9%, 57.4%, 0%, 12.5%)
CIE-LABlab(59.44, 63.23, -44.78)
CIE-LCHlch(59.44, 77.48, 324.70°)
OKLaboklab(67.71% 0.1716 -0.124)
OKLCHoklch(67.71% 0.212 324.1)
XYZxyz(44.5617, 27.5116, 72.7608)
Luminance0.2751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FDF #6ADF5F
analogous
#945FDF #D45FDF #DF5FAA
triadic
#D45FDF #DFD45F #5FDFD4
tetradic
#D45FDF #DF945F #6ADF5F #5FAADF
square
#D45FDF #DF945F #6ADF5F #5FAADF
split-complementary
#D45FDF #AADF5F #5FDF94
monochromatic
#9821A3 #C62CD5 #D45FDF #E292E9 #EFC5F3

Accessibility & contrast

On white

3.23
#D45FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#D45FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FDF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FDF#FFFFFF#000000##000000
##D45FDF1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#7394DC
Tritanopia (blue-blind)
#D87196
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d45fdf;
/* rgb */ color: rgb(212, 95, 223);
/* oklch */ color: oklch(67.7% 0.212 324.1);
Tailwind
colors: {
  custom: {
    50: '#e492e9',
    500: '#d45fdf',
    950: '#000000',
  },
}
SCSS
$custom: #d45fdf;
$custom-light: #e492e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fdf",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 294.844,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67713,
    "c": 0.21171,
    "h": 324.1
  },
  "luminance": 0.27509
}

Semantic roles & 50–950 ramp

primary
#D45FDF
secondary
#BAE4B6
accent
#CF1727
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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