#E798DA#E798DA

#E798DA is a light, vivid purple. Relative luminance 0.445; OKLCH L 77.9% C 0.126 H 332.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#E798DA
RGBrgb(231, 152, 218)
HSLhsl(310, 62%, 75%)
HSVhsv(310, 34%, 91%)
CMYKcmyk(0%, 34.2%, 5.6%, 9.4%)
CIE-LABlab(72.57, 39.49, -21.47)
CIE-LCHlch(72.57, 44.95, 331.47°)
OKLaboklab(77.92% 0.1123 -0.0578)
OKLCHoklch(77.92% 0.126 332.8)
XYZxyz(56.8375, 44.5099, 71.9135)
Luminance0.4451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798DA #98E7A5
analogous
#CC98E7 #E798DA #E798B3
triadic
#E798DA #DAE798 #98DAE7
tetradic
#E798DA #E7CC98 #98E7A5 #98B3E7
square
#E798DA #E7CC98 #98E7A5 #98B3E7
split-complementary
#E798DA #B3E798 #98E7CC
monochromatic
#D035B6 #DB66C8 #E798DA #F3CAEC #F9E6F6

Accessibility & contrast

On white

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

On black

9.90
#E798DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798DA
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798DA#FFFFFF#000000##000000
##E798DA1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ABDC
Deuteranopia (green-blind)
#AAB6D8
Tritanopia (blue-blind)
#EE9CB0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e798da;
/* rgb */ color: rgb(231, 152, 218);
/* oklch */ color: oklch(77.9% 0.126 332.8);
Tailwind
colors: {
  custom: {
    50: '#f0b7e5',
    500: '#e798da',
    950: '#000000',
  },
}
SCSS
$custom: #e798da;
$custom-light: #f0b7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e798da",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 309.873,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77919,
    "c": 0.1263,
    "h": 332.8
  },
  "luminance": 0.44507
}

Semantic roles & 50–950 ramp

primary
#E798DA
secondary
#DAF1DE
accent
#CA381C
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171115
muted
#858084

Preview Lab

Preview with #E798DA

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

Preview Lab → · Contrast checker → · Palette generator →

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