#D788CD#D788CD

#D788CD is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.1% C 0.131 H 331.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#D788CD
RGBrgb(215, 136, 205)
HSLhsl(308, 50%, 69%)
HSVhsv(308, 37%, 84%)
CMYKcmyk(0%, 36.7%, 4.7%, 15.7%)
CIE-LABlab(66.87, 40.53, -23.12)
CIE-LCHlch(66.87, 46.66, 330.30°)
OKLaboklab(73.06% 0.1148 -0.0625)
OKLCHoklch(73.06% 0.131 331.4)
XYZxyz(47.8474, 36.4654, 62.2640)
Luminance0.3646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D788CD #88D792
analogous
#BA88D7 #D788CD #D788A6
triadic
#D788CD #CDD788 #88CDD7
tetradic
#D788CD #D7BA88 #88D792 #88A6D7
square
#D788CD #D7BA88 #88D792 #88A6D7
split-complementary
#D788CD #A6D788 #88D7BA
monochromatic
#AB3A9D #C85ABA #D788CD #E6B6E0 #F6E4F3

Accessibility & contrast

On white

2.53
#D788CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#D788CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D788CD
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D788CD#FFFFFF#000000##000000
##D788CD1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CD0
Deuteranopia (green-blind)
#9AA7CB
Tritanopia (blue-blind)
#DD8DA2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d788cd;
/* rgb */ color: rgb(215, 136, 205);
/* oklch */ color: oklch(73.1% 0.131 331.4);
Tailwind
colors: {
  custom: {
    50: '#e4acdc',
    500: '#d788cd',
    950: '#000000',
  },
}
SCSS
$custom: #d788cd;
$custom-light: #e4acdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d788cd",
  "rgb": {
    "r": 215,
    "g": 136,
    "b": 205
  },
  "hsl": {
    "h": 307.595,
    "s": 49.686,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73063,
    "c": 0.13067,
    "h": 331.4
  },
  "luminance": 0.36463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D788CD

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

Preview Lab → · Contrast checker → · Palette generator →

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