#8A6AE6#8A6AE6

#8A6AE6 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.5% C 0.180 H 292.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A6AE6
RGBrgb(138, 106, 230)
HSLhsl(255, 71%, 66%)
HSVhsv(255, 54%, 90%)
CMYKcmyk(40%, 53.9%, 0%, 9.8%)
CIE-LABlab(53.41, 40.93, -58.83)
CIE-LCHlch(53.41, 71.66, 304.83°)
OKLaboklab(61.53% 0.068 -0.1671)
OKLCHoklch(61.53% 0.18 292.2)
XYZxyz(29.9143, 21.4237, 77.4066)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AE6 #C6E66A
analogous
#6A88E6 #8A6AE6 #C86AE6
triadic
#8A6AE6 #E68A6A #6AE68A
tetradic
#8A6AE6 #E66A88 #C6E66A #6AE6C8
square
#8A6AE6 #E66A88 #C6E66A #6AE6C8
split-complementary
#8A6AE6 #E6C86A #88E66A
monochromatic
#461FB7 #6136DD #8A6AE6 #B39EEF #DCD3F8

Accessibility & contrast

On white

3.97
#8A6AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8A6AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AE6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AE6#FFFFFF#000000##000000
##8A6AE61.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F81EA
Deuteranopia (green-blind)
#367DE3
Tritanopia (blue-blind)
#71849E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a6ae6;
/* rgb */ color: rgb(138, 106, 230);
/* oklch */ color: oklch(61.5% 0.180 292.2);
Tailwind
colors: {
  custom: {
    50: '#b195ef',
    500: '#8a6ae6',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ae6;
$custom-light: #b195ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ae6",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 230
  },
  "hsl": {
    "h": 255.484,
    "s": 71.264,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.1804,
    "h": 292.2
  },
  "luminance": 0.21425
}

Semantic roles & 50–950 ramp

primary
#8A6AE6
secondary
#E0EAC1
accent
#D312A1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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