#D798DE#D798DE

#D798DE is a light, moderate purple. Relative luminance 0.422; OKLCH L 76.4% C 0.119 H 323.2°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#D798DE
RGBrgb(215, 152, 222)
HSLhsl(294, 51%, 73%)
HSVhsv(294, 32%, 87%)
CMYKcmyk(3.2%, 31.5%, 0%, 12.9%)
CIE-LABlab(70.99, 35.10, -26.22)
CIE-LCHlch(70.99, 43.82, 323.24°)
OKLaboklab(76.39% 0.0953 -0.0713)
OKLCHoklch(76.39% 0.119 323.2)
XYZxyz(52.4359, 42.1791, 74.4723)
Luminance0.4218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D798DE #9FDE98
analogous
#B498DE #D798DE #DE98C2
triadic
#D798DE #DED798 #98DED7
tetradic
#D798DE #DEB498 #9FDE98 #98C2DE
square
#D798DE #DEB498 #9FDE98 #98C2DE
split-complementary
#D798DE #C2DE98 #98DEB4
monochromatic
#B23DBF #C56ACF #D798DE #E9C6ED #F6E8F8

Accessibility & contrast

On white

2.23
#D798DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#D798DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D798DE
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D798DE#FFFFFF#000000##000000
##D798DE1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E1
Deuteranopia (green-blind)
#A0B0DC
Tritanopia (blue-blind)
#DA9FB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d798de;
/* rgb */ color: rgb(215, 152, 222);
/* oklch */ color: oklch(76.4% 0.119 323.2);
Tailwind
colors: {
  custom: {
    50: '#e4b7e8',
    500: '#d798de',
    950: '#000000',
  },
}
SCSS
$custom: #d798de;
$custom-light: #e4b7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d798de",
  "rgb": {
    "r": 215,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 294,
    "s": 51.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76389,
    "c": 0.11904,
    "h": 323.2
  },
  "luminance": 0.42177
}

Semantic roles & 50–950 ramp

primary
#D798DE
secondary
#DEEFDC
accent
#BF2736
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D798DE

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

Preview Lab → · Contrast checker → · Palette generator →

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