#E798E6#E798E6

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

Color values

HEX#E798E6
RGBrgb(231, 152, 230)
HSLhsl(301, 62%, 75%)
HSVhsv(301, 34%, 91%)
CMYKcmyk(0%, 34.2%, 0.4%, 9.4%)
CIE-LABlab(73.00, 41.62, -27.39)
CIE-LCHlch(73.00, 49.82, 326.65°)
OKLaboklab(78.39% 0.1155 -0.0744)
OKLCHoklch(78.39% 0.137 327.2)
XYZxyz(58.4650, 45.1609, 80.4848)
Luminance0.4516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798E6 #98E799
analogous
#C098E7 #E798E6 #E798BF
triadic
#E798E6 #E6E798 #98E6E7
tetradic
#E798E6 #E7C098 #98E799 #98BFE7
square
#E798E6 #E7C098 #98E799 #98BFE7
split-complementary
#E798E6 #BFE798 #98E7C0
monochromatic
#D035CE #DB66DA #E798E6 #F3CAF2 #F9E6F9

Accessibility & contrast

On white

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

On black

10.03
#E798E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798E6
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798E6#FFFFFF#000000##000000
##E798E61.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ADE9
Deuteranopia (green-blind)
#A6B7E3
Tritanopia (blue-blind)
#EC9FB5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e798e6;
/* rgb */ color: rgb(231, 152, 230);
/* oklch */ color: oklch(78.4% 0.137 327.2);
Tailwind
colors: {
  custom: {
    50: '#f0b7ee',
    500: '#e798e6',
    950: '#000000',
  },
}
SCSS
$custom: #e798e6;
$custom-light: #f0b7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#e798e6",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 230
  },
  "hsl": {
    "h": 300.759,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78386,
    "c": 0.13734,
    "h": 327.2
  },
  "luminance": 0.45159
}

Semantic roles & 50–950 ramp

primary
#E798E6
secondary
#DAF1DB
accent
#CA1E1C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798E6

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

Preview Lab → · Contrast checker → · Palette generator →

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