#D796DE#D796DE

#D796DE is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.1% C 0.123 H 323.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#D796DE
RGBrgb(215, 150, 222)
HSLhsl(294, 52%, 73%)
HSVhsv(294, 32%, 87%)
CMYKcmyk(3.2%, 32.4%, 0%, 12.9%)
CIE-LABlab(70.55, 36.18, -26.91)
CIE-LCHlch(70.55, 45.09, 323.36°)
OKLaboklab(76.05% 0.0983 -0.0732)
OKLCHoklch(76.05% 0.123 323.3)
XYZxyz(52.1140, 41.5354, 74.3650)
Luminance0.4153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D796DE #9DDE96
analogous
#B396DE #D796DE #DE96C1
triadic
#D796DE #DED796 #96DED7
tetradic
#D796DE #DEB396 #9DDE96 #96C1DE
square
#D796DE #DEB396 #9DDE96 #96C1DE
split-complementary
#D796DE #C1DE96 #96DEB3
monochromatic
#B13CBE #C567CF #D796DE #E9C5ED #F6E8F8

Accessibility & contrast

On white

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

On black

9.31
#D796DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D796DE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D796DE#FFFFFF#000000##000000
##D796DE1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E1
Deuteranopia (green-blind)
#9FAFDC
Tritanopia (blue-blind)
#DA9DB0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d796de;
/* rgb */ color: rgb(215, 150, 222);
/* oklch */ color: oklch(76.1% 0.123 323.3);
Tailwind
colors: {
  custom: {
    50: '#e4b6e8',
    500: '#d796de',
    950: '#000000',
  },
}
SCSS
$custom: #d796de;
$custom-light: #e4b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d796de",
  "rgb": {
    "r": 215,
    "g": 150,
    "b": 222
  },
  "hsl": {
    "h": 294.167,
    "s": 52.174,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76051,
    "c": 0.12256,
    "h": 323.3
  },
  "luminance": 0.41534
}

Semantic roles & 50–950 ramp

primary
#D796DE
secondary
#DEEFDC
accent
#C02635
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D796DE

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

Preview Lab → · Contrast checker → · Palette generator →

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