#D791CD#D791CD

#D791CD is a light, moderate purple. Relative luminance 0.391; OKLCH L 74.5% C 0.115 H 331.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#D791CD
RGBrgb(215, 145, 205)
HSLhsl(309, 47%, 71%)
HSVhsv(309, 33%, 84%)
CMYKcmyk(0%, 32.6%, 4.7%, 15.7%)
CIE-LABlab(68.83, 35.73, -20.14)
CIE-LCHlch(68.83, 41.02, 330.60°)
OKLaboklab(74.54% 0.1012 -0.0542)
OKLCHoklch(74.54% 0.115 331.8)
XYZxyz(49.1685, 39.1077, 62.7044)
Luminance0.3911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D791CD #91D79B
analogous
#BE91D7 #D791CD #D791AA
triadic
#D791CD #CDD791 #91CDD7
tetradic
#D791CD #D7BE91 #91D79B #91AAD7
square
#D791CD #D7BE91 #91D79B #91AAD7
split-complementary
#D791CD #AAD791 #91D7BE
monochromatic
#AE3F9E #C764B9 #D791CD #E7BEE1 #F7E9F5

Accessibility & contrast

On white

2.38
#D791CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#D791CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D791CD
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D791CD#FFFFFF#000000##000000
##D791CD1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA2CF
Deuteranopia (green-blind)
#A1ABCB
Tritanopia (blue-blind)
#DD95A7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d791cd;
/* rgb */ color: rgb(215, 145, 205);
/* oklch */ color: oklch(74.5% 0.115 331.8);
Tailwind
colors: {
  custom: {
    50: '#e4b2dc',
    500: '#d791cd',
    950: '#000000',
  },
}
SCSS
$custom: #d791cd;
$custom-light: #e4b2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d791cd",
  "rgb": {
    "r": 215,
    "g": 145,
    "b": 205
  },
  "hsl": {
    "h": 308.571,
    "s": 46.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74544,
    "c": 0.11479,
    "h": 331.8
  },
  "luminance": 0.39106
}

Semantic roles & 50–950 ramp

primary
#D791CD
secondary
#D8EBDB
accent
#BA402C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D791CD

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

Preview Lab → · Contrast checker → · Palette generator →

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