#8A6EA0#8A6EA0

#8A6EA0 is a mid, moderate violet. Relative luminance 0.191; OKLCH L 58.4% C 0.081 H 309.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A6EA0
RGBrgb(138, 110, 160)
HSLhsl(274, 21%, 53%)
HSVhsv(274, 31%, 63%)
CMYKcmyk(13.8%, 31.2%, 0%, 37.3%)
CIE-LABlab(50.80, 20.93, -22.82)
CIE-LCHlch(50.80, 30.97, 312.54°)
OKLaboklab(58.41% 0.0517 -0.0626)
OKLCHoklch(58.41% 0.081 309.6)
XYZxyz(22.4012, 19.0934, 35.7562)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EA0 #84A06E
analogous
#716EA0 #8A6EA0 #A06E9D
triadic
#8A6EA0 #A08A6E #6EA08A
tetradic
#8A6EA0 #A0716E #84A06E #6E9DA0
square
#8A6EA0 #A0716E #84A06E #6E9DA0
split-complementary
#8A6EA0 #9DA06E #6EA071
monochromatic
#4C3A59 #6B537E #8A6EA0 #A893B8 #C6B8D0

Accessibility & contrast

On white

4.36
#8A6EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A6EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EA0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EA0#FFFFFF#000000##000000
##8A6EA01.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6578A2
Deuteranopia (green-blind)
#6B799E
Tritanopia (blue-blind)
#887580
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6ea0;
/* rgb */ color: rgb(138, 110, 160);
/* oklch */ color: oklch(58.4% 0.081 309.6);
Tailwind
colors: {
  custom: {
    50: '#ad98bc',
    500: '#8a6ea0',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ea0;
$custom-light: #ad98bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ea0",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 160
  },
  "hsl": {
    "h": 273.6,
    "s": 20.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.08118,
    "h": 309.6
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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