#E798DB#E798DB

#E798DB is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.0% C 0.127 H 332.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#E798DB
RGBrgb(231, 152, 219)
HSLhsl(309, 62%, 75%)
HSVhsv(309, 34%, 91%)
CMYKcmyk(0%, 34.2%, 5.2%, 9.4%)
CIE-LABlab(72.60, 39.66, -21.97)
CIE-LCHlch(72.60, 45.34, 331.02°)
OKLaboklab(77.96% 0.1126 -0.0592)
OKLCHoklch(77.96% 0.127 332.3)
XYZxyz(56.9687, 44.5624, 72.6047)
Luminance0.4456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798DB #98E7A4
analogous
#CC98E7 #E798DB #E798B3
triadic
#E798DB #DBE798 #98DBE7
tetradic
#E798DB #E7CC98 #98E7A4 #98B3E7
square
#E798DB #E7CC98 #98E7A4 #98B3E7
split-complementary
#E798DB #B3E798 #98E7CC
monochromatic
#D035B8 #DB66CA #E798DB #F3CAEC #F9E6F6

Accessibility & contrast

On white

2.12
#E798DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#E798DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798DB
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798DB#FFFFFF#000000##000000
##E798DB1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDE
Deuteranopia (green-blind)
#AAB6D9
Tritanopia (blue-blind)
#EE9CB0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e798db;
/* rgb */ color: rgb(231, 152, 219);
/* oklch */ color: oklch(78.0% 0.127 332.3);
Tailwind
colors: {
  custom: {
    50: '#f0b7e6',
    500: '#e798db',
    950: '#000000',
  },
}
SCSS
$custom: #e798db;
$custom-light: #f0b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e798db",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 309.114,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77957,
    "c": 0.12719,
    "h": 332.3
  },
  "luminance": 0.4456
}

Semantic roles & 50–950 ramp

primary
#E798DB
secondary
#DAF1DE
accent
#CA361C
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798DB

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

Preview Lab → · Contrast checker → · Palette generator →

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