#E798E4#E798E4

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

Color values

HEX#E798E4
RGBrgb(231, 152, 228)
HSLhsl(302, 62%, 75%)
HSVhsv(302, 34%, 91%)
CMYKcmyk(0%, 34.2%, 1.3%, 9.4%)
CIE-LABlab(72.92, 41.26, -26.41)
CIE-LCHlch(72.92, 48.98, 327.38°)
OKLaboklab(78.31% 0.115 -0.0716)
OKLCHoklch(78.31% 0.135 328.1)
XYZxyz(58.1857, 45.0492, 79.0142)
Luminance0.4505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798E4 #98E79B
analogous
#C298E7 #E798E4 #E798BD
triadic
#E798E4 #E4E798 #98E4E7
tetradic
#E798E4 #E7C298 #98E79B #98BDE7
square
#E798E4 #E7C298 #98E79B #98BDE7
split-complementary
#E798E4 #BDE798 #98E7C2
monochromatic
#D035CA #DB66D7 #E798E4 #F3CAF1 #F9E6F8

Accessibility & contrast

On white

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

On black

10.01
#E798E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798E4
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798E4#FFFFFF#000000##000000
##E798E41.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ADE7
Deuteranopia (green-blind)
#A7B7E1
Tritanopia (blue-blind)
#EC9EB4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e798e4;
/* rgb */ color: rgb(231, 152, 228);
/* oklch */ color: oklch(78.3% 0.135 328.1);
Tailwind
colors: {
  custom: {
    50: '#f0b7ec',
    500: '#e798e4',
    950: '#000000',
  },
}
SCSS
$custom: #e798e4;
$custom-light: #f0b7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#e798e4",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 228
  },
  "hsl": {
    "h": 302.278,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78306,
    "c": 0.13544,
    "h": 328.1
  },
  "luminance": 0.45047
}

Semantic roles & 50–950 ramp

primary
#E798E4
secondary
#DAF1DB
accent
#CA221C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798E4

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

Preview Lab → · Contrast checker → · Palette generator →

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