#E798DF#E798DF

#E798DF is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.1% C 0.131 H 330.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#E798DF
RGBrgb(231, 152, 223)
HSLhsl(306, 62%, 75%)
HSVhsv(306, 34%, 91%)
CMYKcmyk(0%, 34.2%, 3.5%, 9.4%)
CIE-LABlab(72.74, 40.36, -23.95)
CIE-LCHlch(72.74, 46.93, 329.32°)
OKLaboklab(78.11% 0.1137 -0.0647)
OKLCHoklch(78.11% 0.131 330.4)
XYZxyz(57.5017, 44.7756, 75.4114)
Luminance0.4477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798DF #98E7A0
analogous
#C898E7 #E798DF #E798B7
triadic
#E798DF #DFE798 #98DFE7
tetradic
#E798DF #E7C898 #98E7A0 #98B7E7
square
#E798DF #E7C898 #98E7A0 #98B7E7
split-complementary
#E798DF #B7E798 #98E7C8
monochromatic
#D035C0 #DB66D0 #E798DF #F3CAEE #F9E6F7

Accessibility & contrast

On white

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

On black

9.95
#E798DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798DF
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798DF#FFFFFF#000000##000000
##E798DF1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e798df;
/* rgb */ color: rgb(231, 152, 223);
/* oklch */ color: oklch(78.1% 0.131 330.4);
Tailwind
colors: {
  custom: {
    50: '#f0b7e9',
    500: '#e798df',
    950: '#000000',
  },
}
SCSS
$custom: #e798df;
$custom-light: #f0b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e798df",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 306.076,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7811,
    "c": 0.13079,
    "h": 330.4
  },
  "luminance": 0.44773
}

Semantic roles & 50–950 ramp

primary
#E798DF
secondary
#DAF1DD
accent
#CA2D1C
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798DF

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

Preview Lab → · Contrast checker → · Palette generator →

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