#D45CD4#D45CD4

#D45CD4 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.8% C 0.207 H 327.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#D45CD4
RGBrgb(212, 92, 212)
HSLhsl(300, 58%, 60%)
HSVhsv(300, 57%, 83%)
CMYKcmyk(0%, 56.6%, 0%, 16.9%)
CIE-LABlab(58.42, 62.64, -40.19)
CIE-LCHlch(58.42, 74.42, 327.32°)
OKLaboklab(66.79% 0.1743 -0.1107)
OKLCHoklch(66.79% 0.207 327.6)
XYZxyz(42.8615, 26.4074, 65.1142)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CD4 #5CD45C
analogous
#985CD4 #D45CD4 #D45C98
triadic
#D45CD4 #D4D45C #5CD4D4
tetradic
#D45CD4 #D4985C #5CD45C #5C98D4
square
#D45CD4 #D4985C #5CD45C #5C98D4
split-complementary
#D45CD4 #98D45C #5CD498
monochromatic
#902690 #C033C0 #D45CD4 #E18CE1 #EEBDEE

Accessibility & contrast

On white

3.34
#D45CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#D45CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CD4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CD4#FFFFFF#000000##000000
##D45CD41.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D8
Deuteranopia (green-blind)
#7792D1
Tritanopia (blue-blind)
#DA6A90
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45cd4;
/* rgb */ color: rgb(212, 92, 212);
/* oklch */ color: oklch(66.8% 0.207 327.6);
Tailwind
colors: {
  custom: {
    50: '#e490e1',
    500: '#d45cd4',
    950: '#000000',
  },
}
SCSS
$custom: #d45cd4;
$custom-light: #e490e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cd4",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 300,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66793,
    "c": 0.20651,
    "h": 327.6
  },
  "luminance": 0.26405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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