#E798E8#E798E8

#E798E8 is a light, vivid purple. Relative luminance 0.453; OKLCH L 78.5% C 0.139 H 326.4°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#E798E8
RGBrgb(231, 152, 232)
HSLhsl(299, 63%, 75%)
HSVhsv(299, 34%, 91%)
CMYKcmyk(0.4%, 34.5%, 0%, 9%)
CIE-LABlab(73.07, 41.98, -28.37)
CIE-LCHlch(73.07, 50.67, 325.95°)
OKLaboklab(78.47% 0.116 -0.0771)
OKLCHoklch(78.47% 0.139 326.4)
XYZxyz(58.7474, 45.2739, 81.9725)
Luminance0.4527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E798E8 #99E898
analogous
#BF98E8 #E798E8 #E898C1
triadic
#E798E8 #E8E798 #98E8E7
tetradic
#E798E8 #E8BF98 #99E898 #98C1E8
square
#E798E8 #E8BF98 #99E898 #98C1E8
split-complementary
#E798E8 #C1E898 #98E8BF
monochromatic
#D034D2 #DB66DD #E798E8 #F3CAF3 #F9E6F9

Accessibility & contrast

On white

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

On black

10.05
#E798E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E798E8
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E798E8#FFFFFF#000000##000000
##E798E81.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ADEB
Deuteranopia (green-blind)
#A6B7E5
Tritanopia (blue-blind)
#EC9FB6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e798e8;
/* rgb */ color: rgb(231, 152, 232);
/* oklch */ color: oklch(78.5% 0.139 326.4);
Tailwind
colors: {
  custom: {
    50: '#f0b7ef',
    500: '#e798e8',
    950: '#000000',
  },
}
SCSS
$custom: #e798e8;
$custom-light: #f0b7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#e798e8",
  "rgb": {
    "r": 231,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 299.25,
    "s": 63.492,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78467,
    "c": 0.13927,
    "h": 326.4
  },
  "luminance": 0.45272
}

Semantic roles & 50–950 ramp

primary
#E798E8
secondary
#DAF1DA
accent
#CB1A1C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E798E8

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

Preview Lab → · Contrast checker → · Palette generator →

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