#D45CD1#D45CD1

#D45CD1 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.6% C 0.204 H 328.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D45CD1
RGBrgb(212, 92, 209)
HSLhsl(302, 58%, 60%)
HSVhsv(302, 57%, 83%)
CMYKcmyk(0%, 56.6%, 1.4%, 16.9%)
CIE-LABlab(58.28, 62.13, -38.71)
CIE-LCHlch(58.28, 73.20, 328.07°)
OKLaboklab(66.64% 0.174 -0.1065)
OKLCHoklch(66.64% 0.204 328.5)
XYZxyz(42.4866, 26.2575, 63.1396)
Luminance0.2626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CD1 #5CD45F
analogous
#9B5CD4 #D45CD1 #D45C95
triadic
#D45CD1 #D1D45C #5CD1D4
tetradic
#D45CD1 #D49B5C #5CD45F #5C95D4
square
#D45CD1 #D49B5C #5CD45F #5C95D4
split-complementary
#D45CD1 #95D45C #5CD49B
monochromatic
#90268D #C033BD #D45CD1 #E18CDF #EEBDEC

Accessibility & contrast

On white

3.36
#D45CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D45CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CD1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CD1#FFFFFF#000000##000000
##D45CD11.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D5
Deuteranopia (green-blind)
#7892CE
Tritanopia (blue-blind)
#DA698E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45cd1;
/* rgb */ color: rgb(212, 92, 209);
/* oklch */ color: oklch(66.6% 0.204 328.5);
Tailwind
colors: {
  custom: {
    50: '#e490df',
    500: '#d45cd1',
    950: '#000000',
  },
}
SCSS
$custom: #d45cd1;
$custom-light: #e490df;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cd1",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 301.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66644,
    "c": 0.20399,
    "h": 328.5
  },
  "luminance": 0.26255
}

Semantic roles & 50–950 ramp

primary
#D45CD1
secondary
#AFDDB0
accent
#E14A46
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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