#D89EF8#D89EF8

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

Color values

HEX#D89EF8
RGBrgb(216, 158, 248)
HSLhsl(279, 87%, 80%)
HSVhsv(279, 36%, 97%)
CMYKcmyk(12.9%, 36.3%, 0%, 2.7%)
CIE-LABlab(73.44, 37.34, -36.65)
CIE-LCHlch(73.44, 52.32, 315.54°)
OKLaboklab(78.59% 0.094 -0.1009)
OKLCHoklch(78.59% 0.138 313)
XYZxyz(57.4862, 45.8310, 94.6067)
Luminance0.4583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D89EF8 #BEF89E
analogous
#AB9EF8 #D89EF8 #F89EEB
triadic
#D89EF8 #F8D89E #9EF8D8
tetradic
#D89EF8 #F8AB9E #BEF89E #9EEBF8
square
#D89EF8 #F8AB9E #BEF89E #9EEBF8
split-complementary
#D89EF8 #EBF89E #9EF8AB
monochromatic
#AA2CF0 #C165F4 #D89EF8 #EFD7FC #F4E2FD

Accessibility & contrast

On white

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

On black

10.17
#D89EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D89EF8
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D89EF8#FFFFFF#000000##000000
##D89EF81.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB1FB
Deuteranopia (green-blind)
#9CB6F5
Tritanopia (blue-blind)
#D5AAC0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d89ef8;
/* rgb */ color: rgb(216, 158, 248);
/* oklch */ color: oklch(78.6% 0.138 313.0);
Tailwind
colors: {
  custom: {
    50: '#e5bbfb',
    500: '#d89ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d89ef8;
$custom-light: #e5bbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d89ef8",
  "rgb": {
    "r": 216,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 278.667,
    "s": 86.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78594,
    "c": 0.13793,
    "h": 313
  },
  "luminance": 0.4583
}

Semantic roles & 50–950 ramp

primary
#D89EF8
secondary
#E1F5D6
accent
#E30252
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #D89EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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