#D796DD#D796DD

#D796DD is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.0% C 0.122 H 323.8°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#D796DD
RGBrgb(215, 150, 221)
HSLhsl(295, 51%, 73%)
HSVhsv(295, 32%, 87%)
CMYKcmyk(2.7%, 32.1%, 0%, 13.3%)
CIE-LABlab(70.51, 35.99, -26.41)
CIE-LCHlch(70.51, 44.64, 323.72°)
OKLaboklab(76.01% 0.098 -0.0718)
OKLCHoklch(76.01% 0.122 323.8)
XYZxyz(51.9804, 41.4819, 73.6613)
Luminance0.4148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796DD #9CDD96
analogous
#B496DD #D796DD #DD96BF
triadic
#D796DD #DDD796 #96DDD7
tetradic
#D796DD #DDB496 #9CDD96 #96BFDD
square
#D796DD #DDB496 #9CDD96 #96BFDD
split-complementary
#D796DD #BFDD96 #96DDB4
monochromatic
#B13DBC #C568CE #D796DD #E9C4EC #F6E8F8

Accessibility & contrast

On white

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

On black

9.30
#D796DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796DD
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796DD#FFFFFF#000000##000000
##D796DD1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E0
Deuteranopia (green-blind)
#9FAFDB
Tritanopia (blue-blind)
#DA9DB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d796dd;
/* rgb */ color: rgb(215, 150, 221);
/* oklch */ color: oklch(76.0% 0.122 323.8);
Tailwind
colors: {
  custom: {
    50: '#e4b6e7',
    500: '#d796dd',
    950: '#000000',
  },
}
SCSS
$custom: #d796dd;
$custom-light: #e4b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d796dd",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 294.93,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76011,
    "c": 0.12153,
    "h": 323.8
  },
  "luminance": 0.4148
}

Semantic roles & 50–950 ramp

primary
#D796DD
secondary
#DEEFDC
accent
#BE2734
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D796DD

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

Preview Lab → · Contrast checker → · Palette generator →

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