#E79CFB#E79CFB

#E79CFB is a light, vivid purple. Relative luminance 0.477; OKLCH L 79.9% C 0.152 H 319.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#E79CFB
RGBrgb(231, 156, 251)
HSLhsl(287, 92%, 80%)
HSVhsv(287, 38%, 98%)
CMYKcmyk(8%, 37.8%, 0%, 1.6%)
CIE-LABlab(74.66, 43.46, -36.26)
CIE-LCHlch(74.66, 56.60, 320.16°)
OKLaboklab(79.9% 0.1146 -0.0995)
OKLCHoklch(79.9% 0.152 319)
XYZxyz(62.2537, 47.7327, 97.1821)
Luminance0.4773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E79CFB #B0FB9C
analogous
#B79CFB #E79CFB #FB9CE0
triadic
#E79CFB #FBE79C #9CFBE7
tetradic
#E79CFB #FBB79C #B0FB9C #9CE0FB
square
#E79CFB #FBB79C #B0FB9C #9CE0FB
split-complementary
#E79CFB #E0FB9C #9CFBB7
monochromatic
#CA26F6 #D961F9 #E79CFB #F5D7FD #F8E2FE

Accessibility & contrast

On white

1.99
#E79CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#E79CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E79CFB
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E79CFB#FFFFFF#000000##000000
##E79CFB1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#A2BAF8
Tritanopia (blue-blind)
#E8A8C0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #e79cfb;
/* rgb */ color: rgb(231, 156, 251);
/* oklch */ color: oklch(79.9% 0.152 319.0);
Tailwind
colors: {
  custom: {
    50: '#f0bafd',
    500: '#e79cfb',
    950: '#000000',
  },
}
SCSS
$custom: #e79cfb;
$custom-light: #f0bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#e79cfb",
  "rgb": {
    "r": 231,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 287.368,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.79903,
    "c": 0.15176,
    "h": 319
  },
  "luminance": 0.47731
}

Semantic roles & 50–950 ramp

primary
#E79CFB
secondary
#DCF6D5
accent
#E60030
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171217
muted
#858185

Preview Lab

Preview with #E79CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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