#E795FA#E795FA

#E795FA is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.8% C 0.162 H 319.9°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#E795FA
RGBrgb(231, 149, 250)
HSLhsl(289, 91%, 78%)
HSVhsv(289, 40%, 98%)
CMYKcmyk(7.6%, 40.4%, 0%, 2%)
CIE-LABlab(73.15, 46.93, -38.06)
CIE-LCHlch(73.15, 60.42, 320.96°)
OKLaboklab(78.76% 0.1243 -0.1046)
OKLCHoklch(78.76% 0.162 319.9)
XYZxyz(60.9556, 45.3879, 95.9738)
Luminance0.4539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E795FA #A8FA95
analogous
#B495FA #E795FA #FA95DA
triadic
#E795FA #FAE795 #95FAE7
tetradic
#E795FA #FAB495 #A8FA95 #95DAFA
square
#E795FA #FAB495 #A8FA95 #95DAFA
split-complementary
#E795FA #DAFA95 #95FAB4
monochromatic
#CD20F4 #DA5BF7 #E795FA #F4CFFD #F8E2FE

Accessibility & contrast

On white

2.08
#E795FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#E795FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E795FA
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E795FA#FFFFFF#000000##000000
##E795FA1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#9CB7F7
Tritanopia (blue-blind)
#E8A1BC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e795fa;
/* rgb */ color: rgb(231, 149, 250);
/* oklch */ color: oklch(78.8% 0.162 319.9);
Tailwind
colors: {
  custom: {
    50: '#f0b6fc',
    500: '#e795fa',
    950: '#000000',
  },
}
SCSS
$custom: #e795fa;
$custom-light: #f0b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e795fa",
  "rgb": {
    "r": 231,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 288.713,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78755,
    "c": 0.16245,
    "h": 319.9
  },
  "luminance": 0.45386
}

Semantic roles & 50–950 ramp

primary
#E795FA
secondary
#DBF6D5
accent
#E6002B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E795FA

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

Preview Lab → · Contrast checker → · Palette generator →

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