#E789FC#E789FC

#E789FC is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.0% C 0.184 H 320.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#E789FC
RGBrgb(231, 137, 252)
HSLhsl(289, 95%, 76%)
HSVhsv(289, 46%, 99%)
CMYKcmyk(8.3%, 45.6%, 0%, 1.2%)
CIE-LABlab(70.81, 53.47, -42.79)
CIE-LCHlch(70.81, 68.49, 321.33°)
OKLaboklab(77.04% 0.1413 -0.1181)
OKLCHoklch(77.04% 0.184 320.1)
XYZxyz(59.4692, 41.9107, 97.0336)
Luminance0.4191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E789FC #9EFC89
analogous
#AE89FC #E789FC #FC89D8
triadic
#E789FC #FCE789 #89FCE7
tetradic
#E789FC #FCAE89 #9EFC89 #89D8FC
square
#E789FC #FCAE89 #9EFC89 #89D8FC
split-complementary
#E789FC #D8FC89 #89FCAE
monochromatic
#CF12F9 #DB4DFA #E789FC #F3C5FE #F9E1FE

Accessibility & contrast

On white

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

On black

9.38
#E789FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E789FC
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E789FC#FFFFFF#000000##000000
##E789FC1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#E898B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e789fc;
/* rgb */ color: rgb(231, 137, 252);
/* oklch */ color: oklch(77.0% 0.184 320.1);
Tailwind
colors: {
  custom: {
    50: '#f0aefe',
    500: '#e789fc',
    950: '#000000',
  },
}
SCSS
$custom: #e789fc;
$custom-light: #f0aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#e789fc",
  "rgb": {
    "r": 231,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 289.043,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77035,
    "c": 0.18418,
    "h": 320.1
  },
  "luminance": 0.41909
}

Semantic roles & 50–950 ramp

primary
#E789FC
secondary
#DBF6D5
accent
#E6002A
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171018
muted
#857F86

Preview Lab

Preview with #E789FC

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

Preview Lab → · Contrast checker → · Palette generator →

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