#D796DB#D796DB

#D796DB is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.9% C 0.119 H 324.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#D796DB
RGBrgb(215, 150, 219)
HSLhsl(297, 49%, 72%)
HSVhsv(297, 32%, 86%)
CMYKcmyk(1.8%, 31.5%, 0%, 14.1%)
CIE-LABlab(70.44, 35.61, -25.43)
CIE-LCHlch(70.44, 43.76, 324.47°)
OKLaboklab(75.93% 0.0975 -0.069)
OKLCHoklch(75.93% 0.119 324.7)
XYZxyz(51.7155, 41.3760, 72.2663)
Luminance0.4137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796DB #9ADB96
analogous
#B596DB #D796DB #DB96BC
triadic
#D796DB #DBD796 #96DBD7
tetradic
#D796DB #DBB596 #9ADB96 #96BCDB
square
#D796DB #DBB596 #9ADB96 #96BCDB
split-complementary
#D796DB #BCDB96 #96DBB5
monochromatic
#B13FB8 #C668CB #D796DB #E8C4EB #F6E8F7

Accessibility & contrast

On white

2.26
#D796DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#D796DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796DB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796DB#FFFFFF#000000##000000
##D796DB1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DE
Deuteranopia (green-blind)
#A0AFD9
Tritanopia (blue-blind)
#DA9DAF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d796db;
/* rgb */ color: rgb(215, 150, 219);
/* oklch */ color: oklch(75.9% 0.119 324.7);
Tailwind
colors: {
  custom: {
    50: '#e4b5e6',
    500: '#d796db',
    950: '#000000',
  },
}
SCSS
$custom: #d796db;
$custom-light: #e4b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d796db",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 296.522,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75931,
    "c": 0.11947,
    "h": 324.7
  },
  "luminance": 0.41374
}

Semantic roles & 50–950 ramp

primary
#D796DB
secondary
#DEEEDD
accent
#BC2932
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D796DB

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

Preview Lab → · Contrast checker → · Palette generator →

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