#D45CD2#D45CD2

#D45CD2 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.7% C 0.205 H 328.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#D45CD2
RGBrgb(212, 92, 210)
HSLhsl(301, 58%, 60%)
HSVhsv(301, 57%, 83%)
CMYKcmyk(0%, 56.6%, 0.9%, 16.9%)
CIE-LABlab(58.33, 62.30, -39.20)
CIE-LCHlch(58.33, 73.61, 327.82°)
OKLaboklab(66.69% 0.1741 -0.1079)
OKLCHoklch(66.69% 0.205 328.2)
XYZxyz(42.6108, 26.3072, 63.7937)
Luminance0.2630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CD2 #5CD45E
analogous
#9A5CD4 #D45CD2 #D45C96
triadic
#D45CD2 #D2D45C #5CD2D4
tetradic
#D45CD2 #D49A5C #5CD45E #5C96D4
square
#D45CD2 #D49A5C #5CD45E #5C96D4
split-complementary
#D45CD2 #96D45C #5CD49A
monochromatic
#90268E #C033BE #D45CD2 #E18CDF #EEBDED

Accessibility & contrast

On white

3.35
#D45CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#D45CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CD2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CD2#FFFFFF#000000##000000
##D45CD21.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D6
Deuteranopia (green-blind)
#7892CF
Tritanopia (blue-blind)
#DA6A8F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45cd2;
/* rgb */ color: rgb(212, 92, 210);
/* oklch */ color: oklch(66.7% 0.205 328.2);
Tailwind
colors: {
  custom: {
    50: '#e490e0',
    500: '#d45cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d45cd2;
$custom-light: #e490e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cd2",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 301,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66693,
    "c": 0.20483,
    "h": 328.2
  },
  "luminance": 0.26304
}

Semantic roles & 50–950 ramp

primary
#D45CD2
secondary
#AFDDAF
accent
#E14946
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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