#8A6AE4#8A6AE4

#8A6AE4 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.4% C 0.178 H 292.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A6AE4
RGBrgb(138, 106, 228)
HSLhsl(256, 69%, 65%)
HSVhsv(256, 54%, 89%)
CMYKcmyk(39.5%, 53.5%, 0%, 10.6%)
CIE-LABlab(53.29, 40.39, -57.90)
CIE-LCHlch(53.29, 70.59, 304.90°)
OKLaboklab(61.4% 0.0679 -0.1644)
OKLCHoklch(61.4% 0.178 292.5)
XYZxyz(29.6351, 21.3120, 75.9360)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AE4 #C4E46A
analogous
#6A87E4 #8A6AE4 #C76AE4
triadic
#8A6AE4 #E48A6A #6AE48A
tetradic
#8A6AE4 #E46A87 #C4E46A #6AE4C7
square
#8A6AE4 #E46A87 #C4E46A #6AE4C7
split-complementary
#8A6AE4 #E4C76A #87E46A
monochromatic
#4720B3 #6136DB #8A6AE4 #B39EED #DBD2F7

Accessibility & contrast

On white

3.99
#8A6AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A6AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AE4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AE4#FFFFFF#000000##000000
##8A6AE41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3281E8
Deuteranopia (green-blind)
#397DE1
Tritanopia (blue-blind)
#72839D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a6ae4;
/* rgb */ color: rgb(138, 106, 228);
/* oklch */ color: oklch(61.4% 0.178 292.5);
Tailwind
colors: {
  custom: {
    50: '#b195ed',
    500: '#8a6ae4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ae4;
$custom-light: #b195ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ae4",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 255.738,
    "s": 69.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.17785,
    "h": 292.5
  },
  "luminance": 0.21313
}

Semantic roles & 50–950 ramp

primary
#8A6AE4
secondary
#DFE9C0
accent
#D114A0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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