#E798E2#E798E2

#E798E2 is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.2% C 0.134 H 329.0°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#E798E2
RGBrgb(231, 152, 226)
HSLhsl(304, 62%, 75%)
HSVhsv(304, 34%, 91%)
CMYKcmyk(0%, 34.2%, 2.2%, 9.4%)
CIE-LABlab(72.85, 40.90, -25.42)
CIE-LCHlch(72.85, 48.16, 328.13°)
OKLaboklab(78.23% 0.1145 -0.0688)
OKLCHoklch(78.23% 0.134 329)
XYZxyz(57.9097, 44.9388, 77.5604)
Luminance0.4494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798E2 #98E79D
analogous
#C498E7 #E798E2 #E798BB
triadic
#E798E2 #E2E798 #98E2E7
tetradic
#E798E2 #E7C498 #98E79D #98BBE7
square
#E798E2 #E7C498 #98E79D #98BBE7
split-complementary
#E798E2 #BBE798 #98E7C4
monochromatic
#D035C6 #DB66D4 #E798E2 #F3CAF0 #F9E6F8

Accessibility & contrast

On white

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

On black

9.99
#E798E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798E2
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798E2#FFFFFF#000000##000000
##E798E21.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ACE5
Deuteranopia (green-blind)
#A8B7DF
Tritanopia (blue-blind)
#ED9EB3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e798e2;
/* rgb */ color: rgb(231, 152, 226);
/* oklch */ color: oklch(78.2% 0.134 329.0);
Tailwind
colors: {
  custom: {
    50: '#f0b7eb',
    500: '#e798e2',
    950: '#000000',
  },
}
SCSS
$custom: #e798e2;
$custom-light: #f0b7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#e798e2",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 303.797,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78227,
    "c": 0.13356,
    "h": 329
  },
  "luminance": 0.44936
}

Semantic roles & 50–950 ramp

primary
#E798E2
secondary
#DAF1DC
accent
#CA271C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798E2

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

Preview Lab → · Contrast checker → · Palette generator →

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