#D45CDC#D45CDC

#D45CDC is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.2% C 0.213 H 325.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D45CDC
RGBrgb(212, 92, 220)
HSLhsl(296, 65%, 61%)
HSVhsv(296, 58%, 86%)
CMYKcmyk(3.6%, 58.2%, 0%, 13.7%)
CIE-LABlab(58.81, 64.03, -44.09)
CIE-LCHlch(58.81, 77.75, 325.45°)
OKLaboklab(67.2% 0.175 -0.122)
OKLCHoklch(67.2% 0.213 325.1)
XYZxyz(43.8958, 26.8211, 70.5612)
Luminance0.2682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CDC #64DC5C
analogous
#945CDC #D45CDC #DC5CA4
triadic
#D45CDC #DCD45C #5CDCD4
tetradic
#D45CDC #DC945C #64DC5C #5CA4DC
square
#D45CDC #DC945C #64DC5C #5CA4DC
split-complementary
#D45CDC #A4DC5C #5CDC94
monochromatic
#94229C #C42CCE #D45CDC #E18EE7 #EFC1F2

Accessibility & contrast

On white

3.30
#D45CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D45CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CDC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CDC#FFFFFF#000000##000000
##D45CDC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#7393D8
Tritanopia (blue-blind)
#D96D94
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45cdc;
/* rgb */ color: rgb(212, 92, 220);
/* oklch */ color: oklch(67.2% 0.213 325.1);
Tailwind
colors: {
  custom: {
    50: '#e491e7',
    500: '#d45cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d45cdc;
$custom-light: #e491e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cdc",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 296.25,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67201,
    "c": 0.21336,
    "h": 325.1
  },
  "luminance": 0.26819
}

Semantic roles & 50–950 ramp

primary
#D45CDC
secondary
#B5E2B2
accent
#CC1924
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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