#D45CDB#D45CDB

#D45CDB is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.1% C 0.212 H 325.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#D45CDB
RGBrgb(212, 92, 219)
HSLhsl(297, 64%, 61%)
HSVhsv(297, 58%, 86%)
CMYKcmyk(3.2%, 58%, 0%, 14.1%)
CIE-LABlab(58.76, 63.86, -43.61)
CIE-LCHlch(58.76, 77.33, 325.67°)
OKLaboklab(67.15% 0.175 -0.1206)
OKLCHoklch(67.15% 0.213 325.4)
XYZxyz(43.7637, 26.7683, 69.8658)
Luminance0.2677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CDB #63DB5C
analogous
#945CDB #D45CDB #DB5CA2
triadic
#D45CDB #DBD45C #5CDBD4
tetradic
#D45CDB #DB945C #63DB5C #5CA2DB
square
#D45CDB #DB945C #63DB5C #5CA2DB
split-complementary
#D45CDB #A2DB5C #5CDB94
monochromatic
#94229A #C42DCD #D45CDB #E18EE6 #EEC0F1

Accessibility & contrast

On white

3.31
#D45CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D45CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CDB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CDB#FFFFFF#000000##000000
##D45CDB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#7393D8
Tritanopia (blue-blind)
#D96D93
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d45cdb;
/* rgb */ color: rgb(212, 92, 219);
/* oklch */ color: oklch(67.1% 0.212 325.4);
Tailwind
colors: {
  custom: {
    50: '#e491e6',
    500: '#d45cdb',
    950: '#000000',
  },
}
SCSS
$custom: #d45cdb;
$custom-light: #e491e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cdb",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 296.693,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67149,
    "c": 0.2125,
    "h": 325.4
  },
  "luminance": 0.26766
}

Semantic roles & 50–950 ramp

primary
#D45CDB
secondary
#B4E1B1
accent
#CC1A24
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D45CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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