#8D7AEB#8D7AEB

#8D7AEB is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.8% C 0.164 H 288.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8D7AEB
RGBrgb(141, 122, 235)
HSLhsl(250, 74%, 70%)
HSVhsv(250, 48%, 92%)
CMYKcmyk(40%, 48.1%, 0%, 7.8%)
CIE-LABlab(57.64, 33.80, -54.84)
CIE-LCHlch(57.64, 64.42, 301.64°)
OKLaboklab(64.84% 0.0526 -0.1553)
OKLCHoklch(64.84% 0.164 288.7)
XYZxyz(32.9353, 25.5789, 81.7831)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AEB #D8EB7A
analogous
#7AA0EB #8D7AEB #C57AEB
triadic
#8D7AEB #EB8D7A #7AEB8D
tetradic
#8D7AEB #EB7AA0 #D8EB7A #7AEBC5
square
#8D7AEB #EB7AA0 #D8EB7A #7AEBC5
split-complementary
#8D7AEB #EBC57A #A0EB7A
monochromatic
#3C1FCC #5F45E3 #8D7AEB #BBAFF3 #E8E4FB

Accessibility & contrast

On white

3.43
#8D7AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8D7AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7AEB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7AEB#FFFFFF#000000##000000
##8D7AEB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#4E88E8
Tritanopia (blue-blind)
#7391A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d7aeb;
/* rgb */ color: rgb(141, 122, 235);
/* oklch */ color: oklch(64.8% 0.164 288.7);
Tailwind
colors: {
  custom: {
    50: '#b3a0f2',
    500: '#8d7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8d7aeb;
$custom-light: #b3a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7aeb",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 250.088,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.64839,
    "c": 0.16393,
    "h": 288.7
  },
  "luminance": 0.2558
}

Semantic roles & 50–950 ramp

primary
#8D7AEB
secondary
#EBF0D1
accent
#D610B5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8D7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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