#D45FC3#D45FC3

#D45FC3 is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.3% C 0.188 H 333.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#D45FC3
RGBrgb(212, 95, 195)
HSLhsl(309, 58%, 60%)
HSVhsv(309, 55%, 83%)
CMYKcmyk(0%, 55.2%, 8%, 16.9%)
CIE-LABlab(58.16, 58.45, -30.94)
CIE-LCHlch(58.16, 66.13, 332.10°)
OKLaboklab(66.35% 0.1682 -0.0842)
OKLCHoklch(66.35% 0.188 333.4)
XYZxyz(41.0939, 26.1245, 54.4973)
Luminance0.2612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FC3 #5FD470
analogous
#AA5FD4 #D45FC3 #D45F88
triadic
#D45FC3 #C3D45F #5FC3D4
tetradic
#D45FC3 #D4AA5F #5FD470 #5F88D4
square
#D45FC3 #D4AA5F #5FD470 #5F88D4
split-complementary
#D45FC3 #88D45F #5FD4AA
monochromatic
#912782 #C234AD #D45FC3 #E18FD5 #EEBFE7

Accessibility & contrast

On white

3.37
#D45FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#D45FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FC3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FC3#FFFFFF#000000##000000
##D45FC31.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C6
Deuteranopia (green-blind)
#8092C0
Tritanopia (blue-blind)
#DD6788
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45fc3;
/* rgb */ color: rgb(212, 95, 195);
/* oklch */ color: oklch(66.3% 0.188 333.4);
Tailwind
colors: {
  custom: {
    50: '#e492d5',
    500: '#d45fc3',
    950: '#000000',
  },
}
SCSS
$custom: #d45fc3;
$custom-light: #e492d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fc3",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 308.718,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66347,
    "c": 0.18808,
    "h": 333.4
  },
  "luminance": 0.26122
}

Semantic roles & 50–950 ramp

primary
#D45FC3
secondary
#B1DEB7
accent
#C53820
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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