#D89EF7#D89EF7

#D89EF7 is a light, vivid violet. Relative luminance 0.458; OKLCH L 78.6% C 0.137 H 313.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#D89EF7
RGBrgb(216, 158, 247)
HSLhsl(279, 85%, 79%)
HSVhsv(279, 36%, 97%)
CMYKcmyk(12.6%, 36%, 0%, 3.1%)
CIE-LABlab(73.40, 37.14, -36.17)
CIE-LCHlch(73.40, 51.84, 315.76°)
OKLaboklab(78.55% 0.0938 -0.0996)
OKLCHoklch(78.55% 0.137 313.3)
XYZxyz(57.3315, 45.7691, 93.7918)
Luminance0.4577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D89EF7 #BDF79E
analogous
#AC9EF7 #D89EF7 #F79EEA
triadic
#D89EF7 #F7D89E #9EF7D8
tetradic
#D89EF7 #F7AC9E #BDF79E #9EEAF7
square
#D89EF7 #F7AC9E #BDF79E #9EEAF7
split-complementary
#D89EF7 #EAF79E #9EF7AC
monochromatic
#AB2DEE #C165F2 #D89EF7 #EFD7FC #F4E3FD

Accessibility & contrast

On white

2.07
#D89EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#D89EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D89EF7
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D89EF7#FFFFFF#000000##000000
##D89EF71.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB1FA
Deuteranopia (green-blind)
#9CB6F4
Tritanopia (blue-blind)
#D6AABF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d89ef7;
/* rgb */ color: rgb(216, 158, 247);
/* oklch */ color: oklch(78.6% 0.137 313.3);
Tailwind
colors: {
  custom: {
    50: '#e5bbfa',
    500: '#d89ef7',
    950: '#000000',
  },
}
SCSS
$custom: #d89ef7;
$custom-light: #e5bbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d89ef7",
  "rgb": {
    "r": 216,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 279.101,
    "s": 84.762,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78551,
    "c": 0.13678,
    "h": 313.3
  },
  "luminance": 0.45768
}

Semantic roles & 50–950 ramp

primary
#D89EF7
secondary
#E1F5D6
accent
#E10451
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D89EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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