#E795FC#E795FC

#E795FC is a light, vivid purple. Relative luminance 0.455; OKLCH L 78.8% C 0.165 H 319.3°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#E795FC
RGBrgb(231, 149, 252)
HSLhsl(288, 94%, 79%)
HSVhsv(288, 41%, 99%)
CMYKcmyk(8.3%, 40.9%, 0%, 1.2%)
CIE-LABlab(73.23, 47.32, -39.02)
CIE-LCHlch(73.23, 61.33, 320.49°)
OKLaboklab(78.84% 0.1247 -0.1074)
OKLCHoklch(78.84% 0.165 319.3)
XYZxyz(61.2708, 45.5140, 97.6341)
Luminance0.4551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E795FC #AAFC95
analogous
#B395FC #E795FC #FC95DD
triadic
#E795FC #FCE795 #95FCE7
tetradic
#E795FC #FCB395 #AAFC95 #95DDFC
square
#E795FC #FCB395 #AAFC95 #95DDFC
split-complementary
#E795FC #DDFC95 #95FCB3
monochromatic
#CC1EF9 #DA59FA #E795FC #F4D1FE #F8E1FE

Accessibility & contrast

On white

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

On black

10.10
#E795FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E795FC
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E795FC#FFFFFF#000000##000000
##E795FC1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#9CB7F9
Tritanopia (blue-blind)
#E8A2BD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e795fc;
/* rgb */ color: rgb(231, 149, 252);
/* oklch */ color: oklch(78.8% 0.165 319.3);
Tailwind
colors: {
  custom: {
    50: '#f0b6fd',
    500: '#e795fc',
    950: '#000000',
  },
}
SCSS
$custom: #e795fc;
$custom-light: #f0b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e795fc",
  "rgb": {
    "r": 231,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 287.767,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78844,
    "c": 0.16452,
    "h": 319.3
  },
  "luminance": 0.45512
}

Semantic roles & 50–950 ramp

primary
#E795FC
secondary
#DCF6D5
accent
#E6002F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E795FC

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

Preview Lab → · Contrast checker → · Palette generator →

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