#8A6EA7#8A6EA7

#8A6EA7 is a mid, moderate violet. Relative luminance 0.193; OKLCH L 58.7% C 0.090 H 306.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A6EA7
RGBrgb(138, 110, 167)
HSLhsl(269, 24%, 54%)
HSVhsv(269, 34%, 65%)
CMYKcmyk(17.4%, 34.1%, 0%, 34.5%)
CIE-LABlab(51.09, 22.54, -26.45)
CIE-LCHlch(51.09, 34.76, 310.43°)
OKLaboklab(58.73% 0.0536 -0.0729)
OKLCHoklch(58.73% 0.091 306.3)
XYZxyz(23.0309, 19.3453, 39.0724)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EA7 #8BA76E
analogous
#6E6FA7 #8A6EA7 #A76EA7
triadic
#8A6EA7 #A78A6E #6EA78A
tetradic
#8A6EA7 #A76E6F #8BA76E #6EA7A7
square
#8A6EA7 #A76E6F #8BA76E #6EA7A7
split-complementary
#8A6EA7 #A7A76E #6FA76E
monochromatic
#4D3A60 #6B5286 #8A6EA7 #A994BE #C7BAD5

Accessibility & contrast

On white

4.31
#8A6EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8A6EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EA7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EA7#FFFFFF#000000##000000
##8A6EA71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6379A9
Deuteranopia (green-blind)
#687AA5
Tritanopia (blue-blind)
#867683
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a6ea7;
/* rgb */ color: rgb(138, 110, 167);
/* oklch */ color: oklch(58.7% 0.090 306.3);
Tailwind
colors: {
  custom: {
    50: '#ad98c1',
    500: '#8a6ea7',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ea7;
$custom-light: #ad98c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ea7",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 269.474,
    "s": 24.464,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58726,
    "c": 0.0905,
    "h": 306.3
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#8A6EA7
secondary
#B9C4AC
accent
#C16795
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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