#E798DE#E798DE

#E798DE is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.1% C 0.130 H 330.8°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#E798DE
RGBrgb(231, 152, 222)
HSLhsl(307, 62%, 75%)
HSVhsv(307, 34%, 91%)
CMYKcmyk(0%, 34.2%, 3.9%, 9.4%)
CIE-LABlab(72.71, 40.19, -23.45)
CIE-LCHlch(72.71, 46.53, 329.73°)
OKLaboklab(78.07% 0.1134 -0.0633)
OKLCHoklch(78.07% 0.13 330.8)
XYZxyz(57.3672, 44.7218, 74.7035)
Luminance0.4472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798DE #98E7A1
analogous
#C898E7 #E798DE #E798B7
triadic
#E798DE #DEE798 #98DEE7
tetradic
#E798DE #E7C898 #98E7A1 #98B7E7
square
#E798DE #E7C898 #98E7A1 #98B7E7
split-complementary
#E798DE #B7E798 #98E7C8
monochromatic
#D035BE #DB66CE #E798DE #F3CAEE #F9E6F7

Accessibility & contrast

On white

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

On black

9.94
#E798DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798DE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798DE#FFFFFF#000000##000000
##E798DE1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ACE1
Deuteranopia (green-blind)
#A9B6DB
Tritanopia (blue-blind)
#ED9DB2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e798de;
/* rgb */ color: rgb(231, 152, 222);
/* oklch */ color: oklch(78.1% 0.130 330.8);
Tailwind
colors: {
  custom: {
    50: '#f0b7e8',
    500: '#e798de',
    950: '#000000',
  },
}
SCSS
$custom: #e798de;
$custom-light: #f0b7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#e798de",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 306.835,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78072,
    "c": 0.12988,
    "h": 330.8
  },
  "luminance": 0.44719
}

Semantic roles & 50–950 ramp

primary
#E798DE
secondary
#DAF1DD
accent
#CA2F1C
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798DE

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

Preview Lab → · Contrast checker → · Palette generator →

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