#E795FB#E795FB

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

Color values

HEX#E795FB
RGBrgb(231, 149, 251)
HSLhsl(288, 93%, 78%)
HSVhsv(288, 41%, 98%)
CMYKcmyk(8%, 40.6%, 0%, 1.6%)
CIE-LABlab(73.19, 47.12, -38.54)
CIE-LCHlch(73.19, 60.88, 320.72°)
OKLaboklab(78.8% 0.1245 -0.106)
OKLCHoklch(78.8% 0.163 319.6)
XYZxyz(61.1128, 45.4508, 96.8017)
Luminance0.4545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E795FB #A9FB95
analogous
#B495FB #E795FB #FB95DC
triadic
#E795FB #FBE795 #95FBE7
tetradic
#E795FB #FBB495 #A9FB95 #95DCFB
square
#E795FB #FBB495 #A9FB95 #95DCFB
split-complementary
#E795FB #DCFB95 #95FBB4
monochromatic
#CC1FF7 #DA5AF9 #E795FB #F4D0FD #F8E2FE

Accessibility & contrast

On white

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

On black

10.09
#E795FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E795FB
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E795FB#FFFFFF#000000##000000
##E795FB1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#9CB7F8
Tritanopia (blue-blind)
#E8A2BC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e795fb;
/* rgb */ color: rgb(231, 149, 251);
/* oklch */ color: oklch(78.8% 0.163 319.6);
Tailwind
colors: {
  custom: {
    50: '#f0b6fd',
    500: '#e795fb',
    950: '#000000',
  },
}
SCSS
$custom: #e795fb;
$custom-light: #f0b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e795fb",
  "rgb": {
    "r": 231,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 288.235,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78799,
    "c": 0.16349,
    "h": 319.6
  },
  "luminance": 0.45449
}

Semantic roles & 50–950 ramp

primary
#E795FB
secondary
#DBF6D5
accent
#E6002D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E795FB

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

Preview Lab → · Contrast checker → · Palette generator →

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