#D45DCB#D45DCB

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

Color values

HEX#D45DCB
RGBrgb(212, 93, 203)
HSLhsl(305, 58%, 60%)
HSVhsv(305, 56%, 83%)
CMYKcmyk(0%, 56.1%, 4.2%, 16.9%)
CIE-LABlab(58.17, 60.67, -35.48)
CIE-LCHlch(58.17, 70.28, 329.68°)
OKLaboklab(66.47% 0.172 -0.0972)
OKLCHoklch(66.47% 0.198 330.5)
XYZxyz(41.8449, 26.1403, 59.3299)
Luminance0.2614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45DCB #5DD466
analogous
#A25DD4 #D45DCB #D45D8F
triadic
#D45DCB #CBD45D #5DCBD4
tetradic
#D45DCB #D4A25D #5DD466 #5D8FD4
square
#D45DCB #D4A25D #5DD466 #5D8FD4
split-complementary
#D45DCB #8FD45D #5DD4A2
monochromatic
#902688 #C133B6 #D45DCB #E18DDB #EEBEEA

Accessibility & contrast

On white

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

On black

6.23
#D45DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45DCB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45DCB#FFFFFF#000000##000000
##D45DCB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#7C92C8
Tritanopia (blue-blind)
#DB688C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d45dcb;
/* rgb */ color: rgb(212, 93, 203);
/* oklch */ color: oklch(66.5% 0.198 330.5);
Tailwind
colors: {
  custom: {
    50: '#e491db',
    500: '#d45dcb',
    950: '#000000',
  },
}
SCSS
$custom: #d45dcb;
$custom-light: #e491db;
$custom-dark: #000000;
JSON
{
  "hex": "#d45dcb",
  "rgb": {
    "r": 212,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 304.538,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66473,
    "c": 0.19755,
    "h": 330.5
  },
  "luminance": 0.26138
}

Semantic roles & 50–950 ramp

primary
#D45DCB
secondary
#AFDDB3
accent
#E15247
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D45DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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