#D789CD#D789CD

#D789CD is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.2% C 0.129 H 331.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#D789CD
RGBrgb(215, 137, 205)
HSLhsl(308, 49%, 69%)
HSVhsv(308, 36%, 84%)
CMYKcmyk(0%, 36.3%, 4.7%, 15.7%)
CIE-LABlab(67.09, 40.00, -22.79)
CIE-LCHlch(67.09, 46.04, 330.33°)
OKLaboklab(73.22% 0.1133 -0.0615)
OKLCHoklch(73.22% 0.129 331.5)
XYZxyz(47.9889, 36.7484, 62.3112)
Luminance0.3675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D789CD #89D793
analogous
#BA89D7 #D789CD #D789A6
triadic
#D789CD #CDD789 #89CDD7
tetradic
#D789CD #D7BA89 #89D793 #89A6D7
square
#D789CD #D7BA89 #89D793 #89A6D7
split-complementary
#D789CD #A6D789 #89D7BA
monochromatic
#AB3A9D #C85BBA #D789CD #E6B7E0 #F6E4F4

Accessibility & contrast

On white

2.52
#D789CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#D789CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D789CD
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D789CD#FFFFFF#000000##000000
##D789CD1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DD0
Deuteranopia (green-blind)
#9BA7CB
Tritanopia (blue-blind)
#DD8EA2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d789cd;
/* rgb */ color: rgb(215, 137, 205);
/* oklch */ color: oklch(73.2% 0.129 331.5);
Tailwind
colors: {
  custom: {
    50: '#e4addc',
    500: '#d789cd',
    950: '#000000',
  },
}
SCSS
$custom: #d789cd;
$custom-light: #e4addc;
$custom-dark: #000000;
JSON
{
  "hex": "#d789cd",
  "rgb": {
    "r": 215,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 307.692,
    "s": 49.367,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73225,
    "c": 0.12892,
    "h": 331.5
  },
  "luminance": 0.36746
}

Semantic roles & 50–950 ramp

primary
#D789CD
secondary
#D2E9D5
accent
#BD3C29
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D789CD

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

Preview Lab → · Contrast checker → · Palette generator →

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