#8A6EA1#8A6EA1

#8A6EA1 is a mid, moderate violet. Relative luminance 0.191; OKLCH L 58.5% C 0.083 H 309.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A6EA1
RGBrgb(138, 110, 161)
HSLhsl(273, 21%, 53%)
HSVhsv(273, 32%, 63%)
CMYKcmyk(14.3%, 31.7%, 0%, 36.9%)
CIE-LABlab(50.84, 21.16, -23.34)
CIE-LCHlch(50.84, 31.50, 312.20°)
OKLaboklab(58.45% 0.052 -0.0641)
OKLCHoklch(58.45% 0.083 309.1)
XYZxyz(22.4890, 19.1286, 36.2187)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EA1 #85A16E
analogous
#706EA1 #8A6EA1 #A16E9E
triadic
#8A6EA1 #A18A6E #6EA18A
tetradic
#8A6EA1 #A1706E #85A16E #6E9EA1
square
#8A6EA1 #A1706E #85A16E #6E9EA1
split-complementary
#8A6EA1 #9EA16E #6EA170
monochromatic
#4C3A5A #6B537F #8A6EA1 #A893B9 #C6B8D1

Accessibility & contrast

On white

4.35
#8A6EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8A6EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EA1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EA1#FFFFFF#000000##000000
##8A6EA11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6578A3
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#877580
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6ea1;
/* rgb */ color: rgb(138, 110, 161);
/* oklch */ color: oklch(58.5% 0.083 309.1);
Tailwind
colors: {
  custom: {
    50: '#ad98bd',
    500: '#8a6ea1',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ea1;
$custom-light: #ad98bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ea1",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 161
  },
  "hsl": {
    "h": 272.941,
    "s": 21.339,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.0825,
    "h": 309.1
  },
  "luminance": 0.19128
}

Semantic roles & 50–950 ramp

primary
#8A6EA1
secondary
#B4C0AA
accent
#BE6A90
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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