#8A6ADE#8A6ADE

#8A6ADE is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.0% C 0.170 H 293.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A6ADE
RGBrgb(138, 106, 222)
HSLhsl(257, 64%, 64%)
HSVhsv(257, 52%, 87%)
CMYKcmyk(37.8%, 52.3%, 0%, 12.9%)
CIE-LABlab(52.93, 38.77, -55.09)
CIE-LCHlch(52.93, 67.37, 305.14°)
OKLaboklab(61.02% 0.0677 -0.1561)
OKLCHoklch(61.02% 0.17 293.4)
XYZxyz(28.8166, 20.9846, 71.6253)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6ADE #BEDE6A
analogous
#6A84DE #8A6ADE #C46ADE
triadic
#8A6ADE #DE8A6A #6ADE8A
tetradic
#8A6ADE #DE6A84 #BEDE6A #6ADEC4
square
#8A6ADE #DE6A84 #BEDE6A #6ADEC4
split-complementary
#8A6ADE #DEC46A #84DE6A
monochromatic
#4925A8 #6338D3 #8A6ADE #B19CE9 #D9CEF4

Accessibility & contrast

On white

4.04
#8A6ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A6ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6ADE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6ADE#FFFFFF#000000##000000
##8A6ADE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E2
Deuteranopia (green-blind)
#407CDB
Tritanopia (blue-blind)
#75829A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a6ade;
/* rgb */ color: rgb(138, 106, 222);
/* oklch */ color: oklch(61.0% 0.170 293.4);
Tailwind
colors: {
  custom: {
    50: '#b095e9',
    500: '#8a6ade',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ade;
$custom-light: #b095e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ade",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 222
  },
  "hsl": {
    "h": 256.552,
    "s": 63.736,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61023,
    "c": 0.17015,
    "h": 293.4
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#8A6ADE
secondary
#DBE6BE
accent
#CC1A9B
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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