#D45CC8#D45CC8

#D45CC8 is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.2% C 0.197 H 331.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#D45CC8
RGBrgb(212, 92, 200)
HSLhsl(306, 58%, 60%)
HSVhsv(306, 57%, 83%)
CMYKcmyk(0%, 56.6%, 5.7%, 16.9%)
CIE-LABlab(57.87, 60.62, -34.24)
CIE-LCHlch(57.87, 69.62, 330.54°)
OKLaboklab(66.21% 0.1729 -0.0936)
OKLCHoklch(66.21% 0.197 331.6)
XYZxyz(41.4037, 25.8243, 57.4362)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CC8 #5CD468
analogous
#A45CD4 #D45CC8 #D45C8C
triadic
#D45CC8 #C8D45C #5CC8D4
tetradic
#D45CC8 #D4A45C #5CD468 #5C8CD4
square
#D45CC8 #D4A45C #5CD468 #5C8CD4
split-complementary
#D45CC8 #8CD45C #5CD4A4
monochromatic
#902685 #C033B2 #D45CC8 #E18CD8 #EEBDE9

Accessibility & contrast

On white

3.41
#D45CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#D45CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CC8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CC8#FFFFFF#000000##000000
##D45CC81.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#7C91C5
Tritanopia (blue-blind)
#DC668A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d45cc8;
/* rgb */ color: rgb(212, 92, 200);
/* oklch */ color: oklch(66.2% 0.197 331.6);
Tailwind
colors: {
  custom: {
    50: '#e490d9',
    500: '#d45cc8',
    950: '#000000',
  },
}
SCSS
$custom: #d45cc8;
$custom-light: #e490d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cc8",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 306,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.19659,
    "h": 331.6
  },
  "luminance": 0.25821
}

Semantic roles & 50–950 ramp

primary
#D45CC8
secondary
#AFDDB3
accent
#E15646
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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