#8A6AE9#8A6AE9

#8A6AE9 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.184 H 291.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A6AE9
RGBrgb(138, 106, 233)
HSLhsl(255, 74%, 66%)
HSVhsv(255, 55%, 91%)
CMYKcmyk(40.8%, 54.5%, 0%, 8.6%)
CIE-LABlab(53.59, 41.74, -60.21)
CIE-LCHlch(53.59, 73.27, 304.73°)
OKLaboklab(61.72% 0.0681 -0.1712)
OKLCHoklch(61.72% 0.184 291.7)
XYZxyz(30.3392, 21.5937, 79.6445)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AE9 #C9E96A
analogous
#6A8AE9 #8A6AE9 #CA6AE9
triadic
#8A6AE9 #E98A6A #6AE98A
tetradic
#8A6AE9 #E96A8A #C9E96A #6AE9CA
square
#8A6AE9 #E96A8A #C9E96A #6AE9CA
split-complementary
#8A6AE9 #E9CA6A #8AE96A
monochromatic
#441CBD #6035E1 #8A6AE9 #B49FF1 #DED5F9

Accessibility & contrast

On white

3.95
#8A6AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A6AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AE9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AE9#FFFFFF#000000##000000
##8A6AE91.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82ED
Deuteranopia (green-blind)
#327DE6
Tritanopia (blue-blind)
#70859F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6ae9;
/* rgb */ color: rgb(138, 106, 233);
/* oklch */ color: oklch(61.7% 0.184 291.7);
Tailwind
colors: {
  custom: {
    50: '#b195f1',
    500: '#8a6ae9',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ae9;
$custom-light: #b195f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ae9",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 233
  },
  "hsl": {
    "h": 255.118,
    "s": 74.269,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.18422,
    "h": 291.7
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#8A6AE9
secondary
#E2ECC3
accent
#D60FA4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A6AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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