#E798E7#E798E7

#E798E7 is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.4% C 0.138 H 326.8°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#E798E7
RGBrgb(231, 152, 231)
HSLhsl(300, 62%, 75%)
HSVhsv(300, 34%, 91%)
CMYKcmyk(0%, 34.2%, 0%, 9.4%)
CIE-LABlab(73.03, 41.80, -27.88)
CIE-LCHlch(73.03, 50.24, 326.30°)
OKLaboklab(78.43% 0.1157 -0.0757)
OKLCHoklch(78.43% 0.138 326.8)
XYZxyz(58.6058, 45.2172, 81.2265)
Luminance0.4521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798E7 #98E798
analogous
#BF98E7 #E798E7 #E798BF
triadic
#E798E7 #E7E798 #98E7E7
tetradic
#E798E7 #E7BF98 #98E798 #98BFE7
square
#E798E7 #E7BF98 #98E798 #98BFE7
split-complementary
#E798E7 #BFE798 #98E7BF
monochromatic
#D035D0 #DB66DB #E798E7 #F3CAF3 #F9E6F9

Accessibility & contrast

On white

2.09
#E798E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#E798E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798E7
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798E7#FFFFFF#000000##000000
##E798E71.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ADEA
Deuteranopia (green-blind)
#A6B7E4
Tritanopia (blue-blind)
#EC9FB5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e798e7;
/* rgb */ color: rgb(231, 152, 231);
/* oklch */ color: oklch(78.4% 0.138 326.8);
Tailwind
colors: {
  custom: {
    50: '#f0b7ee',
    500: '#e798e7',
    950: '#000000',
  },
}
SCSS
$custom: #e798e7;
$custom-light: #f0b7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#e798e7",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 300,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78426,
    "c": 0.1383,
    "h": 326.8
  },
  "luminance": 0.45215
}

Semantic roles & 50–950 ramp

primary
#E798E7
secondary
#DAF1DA
accent
#CA1C1C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798E7

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

Preview Lab → · Contrast checker → · Palette generator →

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