#8A6EA4#8A6EA4

#8A6EA4 is a mid, moderate violet. Relative luminance 0.192; OKLCH L 58.6% C 0.086 H 307.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A6EA4
RGBrgb(138, 110, 164)
HSLhsl(271, 23%, 54%)
HSVhsv(271, 33%, 64%)
CMYKcmyk(15.9%, 32.9%, 0%, 35.7%)
CIE-LABlab(50.96, 21.85, -24.90)
CIE-LCHlch(50.96, 33.13, 311.26°)
OKLaboklab(58.59% 0.0528 -0.0685)
OKLCHoklch(58.59% 0.086 307.6)
XYZxyz(22.7567, 19.2356, 37.6288)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EA4 #88A46E
analogous
#6F6EA4 #8A6EA4 #A46EA3
triadic
#8A6EA4 #A48A6E #6EA48A
tetradic
#8A6EA4 #A46F6E #88A46E #6EA3A4
square
#8A6EA4 #A46F6E #88A46E #6EA3A4
split-complementary
#8A6EA4 #A3A46E #6EA46F
monochromatic
#4C3A5D #6B5283 #8A6EA4 #A894BC #C7B9D3

Accessibility & contrast

On white

4.33
#8A6EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A6EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EA4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EA4#FFFFFF#000000##000000
##8A6EA41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A6
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#877682
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a6ea4;
/* rgb */ color: rgb(138, 110, 164);
/* oklch */ color: oklch(58.6% 0.086 307.6);
Tailwind
colors: {
  custom: {
    50: '#ad98bf',
    500: '#8a6ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ea4;
$custom-light: #ad98bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ea4",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 271.111,
    "s": 22.881,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58587,
    "c": 0.08649,
    "h": 307.6
  },
  "luminance": 0.19235
}

Semantic roles & 50–950 ramp

primary
#8A6EA4
secondary
#B6C2AB
accent
#BF6892
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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