#8D7AE9#8D7AE9

#8D7AE9 is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.7% C 0.161 H 288.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D7AE9
RGBrgb(141, 122, 233)
HSLhsl(250, 72%, 70%)
HSVhsv(250, 48%, 91%)
CMYKcmyk(39.5%, 47.6%, 0%, 8.6%)
CIE-LABlab(57.52, 33.25, -53.91)
CIE-LCHlch(57.52, 63.34, 301.67°)
OKLaboklab(64.72% 0.0524 -0.1525)
OKLCHoklch(64.72% 0.161 288.9)
XYZxyz(32.6480, 25.4640, 80.2699)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AE9 #D6E97A
analogous
#7A9FE9 #8D7AE9 #C47AE9
triadic
#8D7AE9 #E98D7A #7AE98D
tetradic
#8D7AE9 #E97A9F #D6E97A #7AE9C4
square
#8D7AE9 #E97A9F #D6E97A #7AE9C4
split-complementary
#8D7AE9 #E9C47A #9FE97A
monochromatic
#3E21C8 #6045E0 #8D7AE9 #BAAFF2 #E7E3FA

Accessibility & contrast

On white

3.45
#8D7AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8D7AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7AE9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7AE9#FFFFFF#000000##000000
##8D7AE91.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DED
Deuteranopia (green-blind)
#5087E6
Tritanopia (blue-blind)
#7490A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d7ae9;
/* rgb */ color: rgb(141, 122, 233);
/* oklch */ color: oklch(64.7% 0.161 288.9);
Tailwind
colors: {
  custom: {
    50: '#b2a0f0',
    500: '#8d7ae9',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ae9;
$custom-light: #b2a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ae9",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 233
  },
  "hsl": {
    "h": 250.27,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.16127,
    "h": 288.9
  },
  "luminance": 0.25465
}

Semantic roles & 50–950 ramp

primary
#8D7AE9
secondary
#EAEFD0
accent
#D412B2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8D7AE9

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

Preview Lab → · Contrast checker → · Palette generator →

#8D7AE9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva