#D796CF#D796CF

#D796CF is a light, moderate purple. Relative luminance 0.408; OKLCH L 75.5% C 0.108 H 330.9°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#D796CF
RGBrgb(215, 150, 207)
HSLhsl(307, 45%, 72%)
HSVhsv(307, 30%, 84%)
CMYKcmyk(0%, 30.2%, 3.7%, 15.7%)
CIE-LABlab(70.01, 33.40, -19.45)
CIE-LCHlch(70.01, 38.65, 329.79°)
OKLaboklab(75.47% 0.0942 -0.0523)
OKLCHoklch(75.47% 0.108 330.9)
XYZxyz(50.1924, 40.7667, 64.2442)
Luminance0.4077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796CF #96D79E
analogous
#BF96D7 #D796CF #D796AF
triadic
#D796CF #CFD796 #96CFD7
tetradic
#D796CF #D7BF96 #96D79E #96AFD7
square
#D796CF #D7BF96 #96D79E #96AFD7
split-complementary
#D796CF #AFD796 #96D7BF
monochromatic
#B043A2 #C66ABB #D796CF #E8C2E3 #F7E9F5

Accessibility & contrast

On white

2.29
#D796CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#D796CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796CF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796CF#FFFFFF#000000##000000
##D796CF1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A6D1
Deuteranopia (green-blind)
#A4AECD
Tritanopia (blue-blind)
#DC9AAA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d796cf;
/* rgb */ color: rgb(215, 150, 207);
/* oklch */ color: oklch(75.5% 0.108 330.9);
Tailwind
colors: {
  custom: {
    50: '#e4b5dd',
    500: '#d796cf',
    950: '#000000',
  },
}
SCSS
$custom: #d796cf;
$custom-light: #e4b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d796cf",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 307.385,
    "s": 44.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75466,
    "c": 0.10772,
    "h": 330.9
  },
  "luminance": 0.40765
}

Semantic roles & 50–950 ramp

primary
#D796CF
secondary
#DCEDDE
accent
#B83F2E
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D796CF

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

Preview Lab → · Contrast checker → · Palette generator →

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