#8A6ADD#8A6ADD

#8A6ADD is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.169 H 293.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A6ADD
RGBrgb(138, 106, 221)
HSLhsl(257, 63%, 64%)
HSVhsv(257, 52%, 87%)
CMYKcmyk(37.6%, 52%, 0%, 13.3%)
CIE-LABlab(52.87, 38.50, -54.62)
CIE-LCHlch(52.87, 66.83, 305.18°)
OKLaboklab(60.96% 0.0676 -0.1547)
OKLCHoklch(60.96% 0.169 293.6)
XYZxyz(28.6830, 20.9312, 70.9215)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6ADD #BDDD6A
analogous
#6A84DD #8A6ADD #C46ADD
triadic
#8A6ADD #DD8A6A #6ADD8A
tetradic
#8A6ADD #DD6A84 #BDDD6A #6ADDC4
square
#8A6ADD #DD6A84 #BDDD6A #6ADDC4
split-complementary
#8A6ADD #DDC46A #84DD6A
monochromatic
#4A26A7 #6338D2 #8A6ADD #B19CE8 #D8CEF4

Accessibility & contrast

On white

4.05
#8A6ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A6ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6ADD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6ADD#FFFFFF#000000##000000
##8A6ADD1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E1
Deuteranopia (green-blind)
#417CDA
Tritanopia (blue-blind)
#758199
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a6add;
/* rgb */ color: rgb(138, 106, 221);
/* oklch */ color: oklch(61.0% 0.169 293.6);
Tailwind
colors: {
  custom: {
    50: '#b095e8',
    500: '#8a6add',
    950: '#000000',
  },
}
SCSS
$custom: #8a6add;
$custom-light: #b095e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6add",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 221
  },
  "hsl": {
    "h": 256.696,
    "s": 62.842,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60961,
    "c": 0.16886,
    "h": 293.6
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#8A6ADD
secondary
#DAE5BD
accent
#CB1B9A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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