#D45DCC#D45DCC

#D45DCC is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.5% C 0.198 H 330.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D45DCC
RGBrgb(212, 93, 204)
HSLhsl(304, 58%, 60%)
HSVhsv(304, 56%, 83%)
CMYKcmyk(0%, 56.1%, 3.8%, 16.9%)
CIE-LABlab(58.22, 60.84, -35.97)
CIE-LCHlch(58.22, 70.68, 329.40°)
OKLaboklab(66.52% 0.1721 -0.0986)
OKLCHoklch(66.52% 0.198 330.2)
XYZxyz(41.9645, 26.1882, 59.9596)
Luminance0.2619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DCC #5DD465
analogous
#A15DD4 #D45DCC #D45D90
triadic
#D45DCC #CCD45D #5DCCD4
tetradic
#D45DCC #D4A15D #5DD465 #5D90D4
square
#D45DCC #D4A15D #5DD465 #5D90D4
split-complementary
#D45DCC #90D45D #5DD4A1
monochromatic
#902689 #C133B7 #D45DCC #E18DDB #EEBEEA

Accessibility & contrast

On white

3.37
#D45DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D45DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DCC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DCC#FFFFFF#000000##000000
##D45DCC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581D0
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#DB688C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45dcc;
/* rgb */ color: rgb(212, 93, 204);
/* oklch */ color: oklch(66.5% 0.198 330.2);
Tailwind
colors: {
  custom: {
    50: '#e491dc',
    500: '#d45dcc',
    950: '#000000',
  },
}
SCSS
$custom: #d45dcc;
$custom-light: #e491dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d45dcc",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 304.034,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66521,
    "c": 0.19838,
    "h": 330.2
  },
  "luminance": 0.26185
}

Semantic roles & 50–950 ramp

primary
#D45DCC
secondary
#AFDDB2
accent
#E15147
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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