#8B6AEA#8B6AEA

#8B6AEA is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.185 H 292.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8B6AEA
RGBrgb(139, 106, 234)
HSLhsl(255, 75%, 67%)
HSVhsv(255, 55%, 92%)
CMYKcmyk(40.6%, 54.7%, 0%, 8.2%)
CIE-LABlab(53.75, 42.24, -60.52)
CIE-LCHlch(53.75, 73.80, 304.91°)
OKLaboklab(61.88% 0.0694 -0.172)
OKLCHoklch(61.88% 0.186 292)
XYZxyz(30.6487, 21.7367, 80.4067)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6AEA #C9EA6A
analogous
#6A89EA #8B6AEA #CB6AEA
triadic
#8B6AEA #EA8B6A #6AEA8B
tetradic
#8B6AEA #EA6A89 #C9EA6A #6AEACB
square
#8B6AEA #EA6A89 #C9EA6A #6AEACB
split-complementary
#8B6AEA #EACB6A #89EA6A
monochromatic
#451BBF #6134E2 #8B6AEA #B5A0F2 #DFD5F9

Accessibility & contrast

On white

3.93
#8B6AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8B6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6AEA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6AEA#FFFFFF#000000##000000
##8B6AEA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#327EE7
Tritanopia (blue-blind)
#7185A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8b6aea;
/* rgb */ color: rgb(139, 106, 234);
/* oklch */ color: oklch(61.9% 0.185 292.0);
Tailwind
colors: {
  custom: {
    50: '#b295f1',
    500: '#8b6aea',
    950: '#000000',
  },
}
SCSS
$custom: #8b6aea;
$custom-light: #b295f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6aea",
  "rgb": {
    "r": 139,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 255.469,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.1855,
    "h": 292
  },
  "luminance": 0.21738
}

Semantic roles & 50–950 ramp

primary
#8B6AEA
secondary
#E2EDC3
accent
#D70EA4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8B6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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