#8A6ADA#8A6ADA

#8A6ADA is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.8% C 0.165 H 294.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A6ADA
RGBrgb(138, 106, 218)
HSLhsl(257, 60%, 64%)
HSVhsv(257, 51%, 85%)
CMYKcmyk(36.7%, 51.4%, 0%, 14.5%)
CIE-LABlab(52.70, 37.71, -53.20)
CIE-LCHlch(52.70, 65.21, 305.33°)
OKLaboklab(60.78% 0.0674 -0.1506)
OKLCHoklch(60.78% 0.165 294.1)
XYZxyz(28.2869, 20.7727, 68.8353)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6ADA #BADA6A
analogous
#6A82DA #8A6ADA #C26ADA
triadic
#8A6ADA #DA8A6A #6ADA8A
tetradic
#8A6ADA #DA6A82 #BADA6A #6ADAC2
square
#8A6ADA #DA6A82 #BADA6A #6ADAC2
split-complementary
#8A6ADA #DAC26A #82DA6A
monochromatic
#4B28A1 #6439CE #8A6ADA #B09BE6 #D7CCF2

Accessibility & contrast

On white

4.07
#8A6ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A6ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6ADA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6ADA#FFFFFF#000000##000000
##8A6ADA1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDE
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#768198
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a6ada;
/* rgb */ color: rgb(138, 106, 218);
/* oklch */ color: oklch(60.8% 0.165 294.1);
Tailwind
colors: {
  custom: {
    50: '#b095e6',
    500: '#8a6ada',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ada;
$custom-light: #b095e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ada",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 218
  },
  "hsl": {
    "h": 257.143,
    "s": 60.215,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.16498,
    "h": 294.1
  },
  "luminance": 0.20773
}

Semantic roles & 50–950 ramp

primary
#8A6ADA
secondary
#D8E4BC
accent
#C81E97
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A6ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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