#E798E3#E798E3

#E798E3 is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.3% C 0.135 H 328.5°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#E798E3
RGBrgb(231, 152, 227)
HSLhsl(303, 62%, 75%)
HSVhsv(303, 34%, 91%)
CMYKcmyk(0%, 34.2%, 1.7%, 9.4%)
CIE-LABlab(72.89, 41.08, -25.92)
CIE-LCHlch(72.89, 48.57, 327.75°)
OKLaboklab(78.27% 0.1147 -0.0702)
OKLCHoklch(78.27% 0.135 328.5)
XYZxyz(58.0473, 44.9939, 78.2852)
Luminance0.4499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798E3 #98E79C
analogous
#C398E7 #E798E3 #E798BB
triadic
#E798E3 #E3E798 #98E3E7
tetradic
#E798E3 #E7C398 #98E79C #98BBE7
square
#E798E3 #E7C398 #98E79C #98BBE7
split-complementary
#E798E3 #BBE798 #98E7C3
monochromatic
#D035C8 #DB66D6 #E798E3 #F3CAF0 #F9E6F8

Accessibility & contrast

On white

2.10
#E798E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#E798E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798E3
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798E3#FFFFFF#000000##000000
##E798E31.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ACE6
Deuteranopia (green-blind)
#A7B7E0
Tritanopia (blue-blind)
#EC9EB4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e798e3;
/* rgb */ color: rgb(231, 152, 227);
/* oklch */ color: oklch(78.3% 0.135 328.5);
Tailwind
colors: {
  custom: {
    50: '#f0b7ec',
    500: '#e798e3',
    950: '#000000',
  },
}
SCSS
$custom: #e798e3;
$custom-light: #f0b7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#e798e3",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 227
  },
  "hsl": {
    "h": 303.038,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78267,
    "c": 0.1345,
    "h": 328.5
  },
  "luminance": 0.44991
}

Semantic roles & 50–950 ramp

primary
#E798E3
secondary
#DAF1DC
accent
#CA241C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798E3

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

Preview Lab → · Contrast checker → · Palette generator →

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