#8D7AE2#8D7AE2

#8D7AE2 is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.3% C 0.152 H 289.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D7AE2
RGBrgb(141, 122, 226)
HSLhsl(251, 64%, 68%)
HSVhsv(251, 46%, 89%)
CMYKcmyk(37.6%, 46%, 0%, 11.4%)
CIE-LABlab(57.15, 31.35, -50.60)
CIE-LCHlch(57.15, 59.52, 301.78°)
OKLaboklab(64.31% 0.0515 -0.1429)
OKLCHoklch(64.31% 0.152 289.8)
XYZxyz(31.6678, 25.0719, 75.1076)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7AE2 #CFE27A
analogous
#7A9BE2 #8D7AE2 #C17AE2
triadic
#8D7AE2 #E28D7A #7AE28D
tetradic
#8D7AE2 #E27A9B #CFE27A #7AE2C1
square
#8D7AE2 #E27A9B #CFE27A #7AE2C1
split-complementary
#8D7AE2 #E2C17A #9BE27A
monochromatic
#4328B9 #6248D7 #8D7AE2 #B8ACED #E3DEF8

Accessibility & contrast

On white

3.49
#8D7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8D7AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7AE2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7AE2#FFFFFF#000000##000000
##8D7AE21.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#5687E0
Tritanopia (blue-blind)
#778EA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d7ae2;
/* rgb */ color: rgb(141, 122, 226);
/* oklch */ color: oklch(64.3% 0.152 289.8);
Tailwind
colors: {
  custom: {
    50: '#b2a0eb',
    500: '#8d7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #8d7ae2;
$custom-light: #b2a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7ae2",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 250.962,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64312,
    "c": 0.15187,
    "h": 289.8
  },
  "luminance": 0.25073
}

Semantic roles & 50–950 ramp

primary
#8D7AE2
secondary
#E6ECCC
accent
#CC19AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8D7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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