#E798E5#E798E5

#E798E5 is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.3% C 0.136 H 327.6°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#E798E5
RGBrgb(231, 152, 229)
HSLhsl(302, 62%, 75%)
HSVhsv(302, 34%, 91%)
CMYKcmyk(0%, 34.2%, 0.9%, 9.4%)
CIE-LABlab(72.96, 41.44, -26.90)
CIE-LCHlch(72.96, 49.40, 327.01°)
OKLaboklab(78.35% 0.1152 -0.073)
OKLCHoklch(78.35% 0.136 327.6)
XYZxyz(58.3249, 45.1049, 79.7474)
Luminance0.4510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798E5 #98E79A
analogous
#C198E7 #E798E5 #E798BD
triadic
#E798E5 #E5E798 #98E5E7
tetradic
#E798E5 #E7C198 #98E79A #98BDE7
square
#E798E5 #E7C198 #98E79A #98BDE7
split-complementary
#E798E5 #BDE798 #98E7C1
monochromatic
#D035CC #DB66D8 #E798E5 #F3CAF2 #F9E6F9

Accessibility & contrast

On white

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

On black

10.02
#E798E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798E5
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798E5#FFFFFF#000000##000000
##E798E51.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ADE8
Deuteranopia (green-blind)
#A7B7E2
Tritanopia (blue-blind)
#EC9FB4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e798e5;
/* rgb */ color: rgb(231, 152, 229);
/* oklch */ color: oklch(78.3% 0.136 327.6);
Tailwind
colors: {
  custom: {
    50: '#f0b7ed',
    500: '#e798e5',
    950: '#000000',
  },
}
SCSS
$custom: #e798e5;
$custom-light: #f0b7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#e798e5",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 301.519,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78346,
    "c": 0.13639,
    "h": 327.6
  },
  "luminance": 0.45103
}

Semantic roles & 50–950 ramp

primary
#E798E5
secondary
#DAF1DB
accent
#CA201C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798E5

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

Preview Lab → · Contrast checker → · Palette generator →

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