#E798EA#E798EA

#E798EA is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.5% C 0.141 H 325.6°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#E798EA
RGBrgb(231, 152, 234)
HSLhsl(298, 66%, 76%)
HSVhsv(298, 35%, 92%)
CMYKcmyk(1.3%, 35%, 0%, 8.2%)
CIE-LABlab(73.15, 42.35, -29.35)
CIE-LCHlch(73.15, 51.52, 325.28°)
OKLaboklab(78.55% 0.1165 -0.0799)
OKLCHoklch(78.55% 0.141 325.6)
XYZxyz(59.0331, 45.3882, 83.4771)
Luminance0.4539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798EA #9BEA98
analogous
#BE98EA #E798EA #EA98C4
triadic
#E798EA #EAE798 #98EAE7
tetradic
#E798EA #EABE98 #9BEA98 #98C4EA
square
#E798EA #EABE98 #9BEA98 #98C4EA
split-complementary
#E798EA #C4EA98 #98EABE
monochromatic
#CF32D5 #DB65E0 #E798EA #F3CBF4 #F9E6FA

Accessibility & contrast

On white

2.08
#E798EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#E798EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798EA
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798EA#FFFFFF#000000##000000
##E798EA1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91ADED
Deuteranopia (green-blind)
#A5B7E7
Tritanopia (blue-blind)
#EBA0B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e798ea;
/* rgb */ color: rgb(231, 152, 234);
/* oklch */ color: oklch(78.5% 0.141 325.6);
Tailwind
colors: {
  custom: {
    50: '#f0b7f1',
    500: '#e798ea',
    950: '#000000',
  },
}
SCSS
$custom: #e798ea;
$custom-light: #f0b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e798ea",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 297.805,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78548,
    "c": 0.14122,
    "h": 325.6
  },
  "luminance": 0.45386
}

Semantic roles & 50–950 ramp

primary
#E798EA
secondary
#DBF1DA
accent
#CE181E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798EA

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

Preview Lab → · Contrast checker → · Palette generator →

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