#D796CE#D796CE

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

Color values

HEX#D796CE
RGBrgb(215, 150, 206)
HSLhsl(308, 45%, 72%)
HSVhsv(308, 30%, 84%)
CMYKcmyk(0%, 30.2%, 4.2%, 15.7%)
CIE-LABlab(69.98, 33.22, -18.95)
CIE-LCHlch(69.98, 38.25, 330.30°)
OKLaboklab(75.43% 0.0939 -0.0509)
OKLCHoklch(75.43% 0.107 331.5)
XYZxyz(50.0705, 40.7179, 63.6024)
Luminance0.4072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796CE #96D79F
analogous
#C096D7 #D796CE #D796AE
triadic
#D796CE #CED796 #96CED7
tetradic
#D796CE #D7C096 #96D79F #96AED7
square
#D796CE #D7C096 #96D79F #96AED7
split-complementary
#D796CE #AED796 #96D7C0
monochromatic
#B043A1 #C66AB9 #D796CE #E8C2E3 #F7E9F5

Accessibility & contrast

On white

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

On black

9.14
#D796CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796CE
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796CE#FFFFFF#000000##000000
##D796CE1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A6D0
Deuteranopia (green-blind)
#A4AECC
Tritanopia (blue-blind)
#DD9AAA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d796ce;
/* rgb */ color: rgb(215, 150, 206);
/* oklch */ color: oklch(75.4% 0.107 331.5);
Tailwind
colors: {
  custom: {
    50: '#e4b5dd',
    500: '#d796ce',
    950: '#000000',
  },
}
SCSS
$custom: #d796ce;
$custom-light: #e4b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d796ce",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 206
  },
  "hsl": {
    "h": 308.308,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75429,
    "c": 0.10679,
    "h": 331.5
  },
  "luminance": 0.40716
}

Semantic roles & 50–950 ramp

primary
#D796CE
secondary
#DCEDDE
accent
#B8412E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D796CE

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

Preview Lab → · Contrast checker → · Palette generator →

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