#D945CB#D945CB

#D945CB is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.6% C 0.232 H 332.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#D945CB
RGBrgb(217, 69, 203)
HSLhsl(306, 66%, 56%)
HSVhsv(306, 68%, 85%)
CMYKcmyk(0%, 68.2%, 6.5%, 14.9%)
CIE-LABlab(55.40, 71.62, -39.76)
CIE-LCHlch(55.40, 81.91, 330.96°)
OKLaboklab(64.61% 0.2052 -0.1092)
OKLCHoklch(64.61% 0.232 332)
XYZxyz(41.5229, 23.3230, 58.8032)
Luminance0.2332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945CB #45D953
analogous
#9D45D9 #D945CB #D94581
triadic
#D945CB #CBD945 #45CBD9
tetradic
#D945CB #D99D45 #45D953 #4581D9
square
#D945CB #D99D45 #45D953 #4581D9
split-complementary
#D945CB #81D945 #45D99D
monochromatic
#881C7E #BB26AD #D945CB #E378D9 #EEABE7

Accessibility & contrast

On white

3.71
#D945CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#D945CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945CB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945CB#FFFFFF#000000##000000
##D945CB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CF
Deuteranopia (green-blind)
#738CC7
Tritanopia (blue-blind)
#E25483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d945cb;
/* rgb */ color: rgb(217, 69, 203);
/* oklch */ color: oklch(64.6% 0.232 332.0);
Tailwind
colors: {
  custom: {
    50: '#e885db',
    500: '#d945cb',
    950: '#000000',
  },
}
SCSS
$custom: #d945cb;
$custom-light: #e885db;
$custom-dark: #000000;
JSON
{
  "hex": "#d945cb",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 305.676,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64606,
    "c": 0.23247,
    "h": 332
  },
  "luminance": 0.2332
}

Semantic roles & 50–950 ramp

primary
#D945CB
secondary
#9EDBA4
accent
#E94F3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D945CB

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

Preview Lab → · Contrast checker → · Palette generator →

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