#D796CD#D796CD

#D796CD is a light, moderate purple. Relative luminance 0.407; OKLCH L 75.4% C 0.106 H 332.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D796CD
RGBrgb(215, 150, 205)
HSLhsl(309, 45%, 72%)
HSVhsv(309, 30%, 84%)
CMYKcmyk(0%, 30.2%, 4.7%, 15.7%)
CIE-LABlab(69.94, 33.04, -18.45)
CIE-LCHlch(69.94, 37.84, 330.83°)
OKLaboklab(75.39% 0.0936 -0.0495)
OKLCHoklch(75.39% 0.106 332.1)
XYZxyz(49.9494, 40.6695, 62.9647)
Luminance0.4067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796CD #96D7A0
analogous
#C196D7 #D796CD #D796AD
triadic
#D796CD #CDD796 #96CDD7
tetradic
#D796CD #D7C196 #96D7A0 #96ADD7
square
#D796CD #D7C196 #96D7A0 #96ADD7
split-complementary
#D796CD #ADD796 #96D7C1
monochromatic
#B0439F #C66AB8 #D796CD #E8C2E2 #F7E9F4

Accessibility & contrast

On white

2.30
#D796CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D796CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796CD
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796CD#FFFFFF#000000##000000
##D796CD1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CF
Deuteranopia (green-blind)
#A4AECB
Tritanopia (blue-blind)
#DD99AA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d796cd;
/* rgb */ color: rgb(215, 150, 205);
/* oklch */ color: oklch(75.4% 0.106 332.1);
Tailwind
colors: {
  custom: {
    50: '#e4b5dc',
    500: '#d796cd',
    950: '#000000',
  },
}
SCSS
$custom: #d796cd;
$custom-light: #e4b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d796cd",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 309.231,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75391,
    "c": 0.10587,
    "h": 332.1
  },
  "luminance": 0.40668
}

Semantic roles & 50–950 ramp

primary
#D796CD
secondary
#DCEDDF
accent
#B8432E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D796CD

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

Preview Lab → · Contrast checker → · Palette generator →

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