#E798DD#E798DD

#E798DD is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.0% C 0.129 H 331.3°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#E798DD
RGBrgb(231, 152, 221)
HSLhsl(308, 62%, 75%)
HSVhsv(308, 34%, 91%)
CMYKcmyk(0%, 34.2%, 4.3%, 9.4%)
CIE-LABlab(72.67, 40.01, -22.96)
CIE-LCHlch(72.67, 46.13, 330.15°)
OKLaboklab(78.03% 0.1131 -0.0619)
OKLCHoklch(78.03% 0.129 331.3)
XYZxyz(57.2336, 44.6684, 73.9997)
Luminance0.4467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798DD #98E7A2
analogous
#CA98E7 #E798DD #E798B5
triadic
#E798DD #DDE798 #98DDE7
tetradic
#E798DD #E7CA98 #98E7A2 #98B5E7
square
#E798DD #E7CA98 #98E7A2 #98B5E7
split-complementary
#E798DD #B5E798 #98E7CA
monochromatic
#D035BC #DB66CD #E798DD #F3CAED #F9E6F7

Accessibility & contrast

On white

2.11
#E798DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#E798DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798DD
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798DD#FFFFFF#000000##000000
##E798DD1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE0
Deuteranopia (green-blind)
#A9B6DA
Tritanopia (blue-blind)
#ED9DB1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e798dd;
/* rgb */ color: rgb(231, 152, 221);
/* oklch */ color: oklch(78.0% 0.129 331.3);
Tailwind
colors: {
  custom: {
    50: '#f0b7e7',
    500: '#e798dd',
    950: '#000000',
  },
}
SCSS
$custom: #e798dd;
$custom-light: #f0b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e798dd",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 307.595,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78033,
    "c": 0.12897,
    "h": 331.3
  },
  "luminance": 0.44666
}

Semantic roles & 50–950 ramp

primary
#E798DD
secondary
#DAF1DD
accent
#CA321C
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798DD

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

Preview Lab → · Contrast checker → · Palette generator →

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