#E789FB#E789FB

#E789FB is a light, vivid purple. Relative luminance 0.418; OKLCH L 77.0% C 0.183 H 320.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#E789FB
RGBrgb(231, 137, 251)
HSLhsl(289, 93%, 76%)
HSVhsv(289, 45%, 98%)
CMYKcmyk(8%, 45.4%, 0%, 1.6%)
CIE-LABlab(70.77, 53.28, -42.32)
CIE-LCHlch(70.77, 68.04, 321.54°)
OKLaboklab(76.99% 0.1412 -0.1168)
OKLCHoklch(76.99% 0.183 320.4)
XYZxyz(59.3111, 41.8475, 96.2012)
Luminance0.4184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E789FB #9DFB89
analogous
#AE89FB #E789FB #FB89D6
triadic
#E789FB #FBE789 #89FBE7
tetradic
#E789FB #FBAE89 #9DFB89 #89D6FB
square
#E789FB #FBAE89 #9DFB89 #89D6FB
split-complementary
#E789FB #D6FB89 #89FBAE
monochromatic
#CF13F7 #DB4EF9 #E789FB #F3C4FD #F9E1FE

Accessibility & contrast

On white

2.24
#E789FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#E789FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E789FB
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E789FB#FFFFFF#000000##000000
##E789FB1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#92B1F8
Tritanopia (blue-blind)
#E998B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e789fb;
/* rgb */ color: rgb(231, 137, 251);
/* oklch */ color: oklch(77.0% 0.183 320.4);
Tailwind
colors: {
  custom: {
    50: '#f0aefd',
    500: '#e789fb',
    950: '#000000',
  },
}
SCSS
$custom: #e789fb;
$custom-light: #f0aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#e789fb",
  "rgb": {
    "r": 231,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 289.474,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76988,
    "c": 0.18319,
    "h": 320.4
  },
  "luminance": 0.41845
}

Semantic roles & 50–950 ramp

primary
#E789FB
secondary
#DBF6D5
accent
#E60028
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171017
muted
#857F85

Preview Lab

Preview with #E789FB

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

Preview Lab → · Contrast checker → · Palette generator →

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