#E798E1#E798E1

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

Color values

HEX#E798E1
RGBrgb(231, 152, 225)
HSLhsl(305, 62%, 75%)
HSVhsv(305, 34%, 91%)
CMYKcmyk(0%, 34.2%, 2.6%, 9.4%)
CIE-LABlab(72.82, 40.72, -24.93)
CIE-LCHlch(72.82, 47.75, 328.52°)
OKLaboklab(78.19% 0.1142 -0.0675)
OKLCHoklch(78.19% 0.133 329.4)
XYZxyz(57.7729, 44.8841, 76.8399)
Luminance0.4488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798E1 #98E79E
analogous
#C598E7 #E798E1 #E798B9
triadic
#E798E1 #E1E798 #98E1E7
tetradic
#E798E1 #E7C598 #98E79E #98B9E7
square
#E798E1 #E7C598 #98E79E #98B9E7
split-complementary
#E798E1 #B9E798 #98E7C5
monochromatic
#D035C4 #DB66D3 #E798E1 #F3CAEF #F9E6F8

Accessibility & contrast

On white

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

On black

9.98
#E798E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798E1
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798E1#FFFFFF#000000##000000
##E798E11.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e798e1;
/* rgb */ color: rgb(231, 152, 225);
/* oklch */ color: oklch(78.2% 0.133 329.4);
Tailwind
colors: {
  custom: {
    50: '#f0b7ea',
    500: '#e798e1',
    950: '#000000',
  },
}
SCSS
$custom: #e798e1;
$custom-light: #f0b7ea;
$custom-dark: #000000;
JSON
{
  "hex": "#e798e1",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 225
  },
  "hsl": {
    "h": 304.557,
    "s": 62.205,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78188,
    "c": 0.13263,
    "h": 329.4
  },
  "luminance": 0.44882
}

Semantic roles & 50–950 ramp

primary
#E798E1
secondary
#DAF1DC
accent
#CA291C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798E1

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

Preview Lab → · Contrast checker → · Palette generator →

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