#D45CD8#D45CD8

#D45CD8 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.0% C 0.210 H 326.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D45CD8
RGBrgb(212, 92, 216)
HSLhsl(298, 61%, 60%)
HSVhsv(298, 57%, 85%)
CMYKcmyk(1.9%, 57.4%, 0%, 15.3%)
CIE-LABlab(58.61, 63.33, -42.15)
CIE-LCHlch(58.61, 76.07, 326.36°)
OKLaboklab(67% 0.1747 -0.1164)
OKLCHoklch(67% 0.21 326.3)
XYZxyz(43.3724, 26.6118, 67.8045)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CD8 #60D85C
analogous
#965CD8 #D45CD8 #D85C9E
triadic
#D45CD8 #D8D45C #5CD8D4
tetradic
#D45CD8 #D8965C #60D85C #5C9ED8
square
#D45CD8 #D8965C #60D85C #5C9ED8
split-complementary
#D45CD8 #9ED85C #5CD896
monochromatic
#922496 #C230C7 #D45CD8 #E18DE4 #EEBFF0

Accessibility & contrast

On white

3.32
#D45CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D45CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CD8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CD8#FFFFFF#000000##000000
##D45CD81.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DC
Deuteranopia (green-blind)
#7592D5
Tritanopia (blue-blind)
#D96C92
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45cd8;
/* rgb */ color: rgb(212, 92, 216);
/* oklch */ color: oklch(67.0% 0.210 326.3);
Tailwind
colors: {
  custom: {
    50: '#e491e4',
    500: '#d45cd8',
    950: '#000000',
  },
}
SCSS
$custom: #d45cd8;
$custom-light: #e491e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cd8",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 298.065,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66995,
    "c": 0.20992,
    "h": 326.3
  },
  "luminance": 0.26609
}

Semantic roles & 50–950 ramp

primary
#D45CD8
secondary
#B2E0B0
accent
#C91C22
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #D45CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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