#D795CD#D795CD

#D795CD is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.2% C 0.108 H 332.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#D795CD
RGBrgb(215, 149, 205)
HSLhsl(309, 45%, 71%)
HSVhsv(309, 31%, 84%)
CMYKcmyk(0%, 30.7%, 4.7%, 15.7%)
CIE-LABlab(69.72, 33.58, -18.79)
CIE-LCHlch(69.72, 38.48, 330.78°)
OKLaboklab(75.22% 0.0951 -0.0505)
OKLCHoklch(75.22% 0.108 332)
XYZxyz(49.7905, 40.3517, 62.9117)
Luminance0.4035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795CD #95D79F
analogous
#C095D7 #D795CD #D795AC
triadic
#D795CD #CDD795 #95CDD7
tetradic
#D795CD #D7C095 #95D79F #95ACD7
square
#D795CD #D7C095 #95D79F #95ACD7
split-complementary
#D795CD #ACD795 #95D7C0
monochromatic
#AF429F #C669B8 #D795CD #E8C1E2 #F7E9F5

Accessibility & contrast

On white

2.32
#D795CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#D795CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795CD
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795CD#FFFFFF#000000##000000
##D795CD1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5CF
Deuteranopia (green-blind)
#A4AECB
Tritanopia (blue-blind)
#DD99A9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d795cd;
/* rgb */ color: rgb(215, 149, 205);
/* oklch */ color: oklch(75.2% 0.108 332.0);
Tailwind
colors: {
  custom: {
    50: '#e4b5dc',
    500: '#d795cd',
    950: '#000000',
  },
}
SCSS
$custom: #d795cd;
$custom-light: #e4b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d795cd",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 309.091,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7522,
    "c": 0.10766,
    "h": 332
  },
  "luminance": 0.4035
}

Semantic roles & 50–950 ramp

primary
#D795CD
secondary
#DBECDE
accent
#B8422D
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D795CD

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

Preview Lab → · Contrast checker → · Palette generator →

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