#E789DF#E789DF

#E789DF is a light, vivid purple. Relative luminance 0.402; OKLCH L 75.8% C 0.157 H 330.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#E789DF
RGBrgb(231, 137, 223)
HSLhsl(305, 66%, 72%)
HSVhsv(305, 41%, 91%)
CMYKcmyk(0%, 40.7%, 3.5%, 9.4%)
CIE-LABlab(69.62, 48.16, -28.74)
CIE-LCHlch(69.62, 56.08, 329.18°)
OKLaboklab(75.76% 0.1357 -0.078)
OKLCHoklch(75.76% 0.157 330.1)
XYZxyz(55.2192, 40.2107, 74.6506)
Luminance0.4021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E789DF #89E791
analogous
#C089E7 #E789DF #E789B0
triadic
#E789DF #DFE789 #89DFE7
tetradic
#E789DF #E7C089 #89E791 #89B0E7
square
#E789DF #E7C089 #89E791 #89B0E7
split-complementary
#E789DF #B0E789 #89E7C0
monochromatic
#CC2ABE #DD56D1 #E789DF #F1BCED #FAE6F8

Accessibility & contrast

On white

2.32
#E789DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#E789DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E789DF
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E789DF#FFFFFF#000000##000000
##E789DF1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A2E2
Deuteranopia (green-blind)
#9EAFDC
Tritanopia (blue-blind)
#EE90AA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e789df;
/* rgb */ color: rgb(231, 137, 223);
/* oklch */ color: oklch(75.8% 0.157 330.1);
Tailwind
colors: {
  custom: {
    50: '#f0ade9',
    500: '#e789df',
    950: '#000000',
  },
}
SCSS
$custom: #e789df;
$custom-light: #f0ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#e789df",
  "rgb": {
    "r": 231,
    "g": 137,
    "b": 223
  },
  "hsl": {
    "h": 305.106,
    "s": 66.197,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75756,
    "c": 0.15656,
    "h": 330.1
  },
  "luminance": 0.40208
}

Semantic roles & 50–950 ramp

primary
#E789DF
secondary
#DAF1DC
accent
#CE2717
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E789DF

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

Preview Lab → · Contrast checker → · Palette generator →

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