#8A6EA9#8A6EA9

#8A6EA9 is a mid, moderate violet. Relative luminance 0.194; OKLCH L 58.8% C 0.093 H 305.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A6EA9
RGBrgb(138, 110, 169)
HSLhsl(268, 26%, 55%)
HSVhsv(268, 35%, 66%)
CMYKcmyk(18.3%, 34.9%, 0%, 33.7%)
CIE-LABlab(51.17, 23.01, -27.49)
CIE-LCHlch(51.17, 35.84, 309.93°)
OKLaboklab(58.82% 0.0541 -0.0759)
OKLCHoklch(58.82% 0.093 305.5)
XYZxyz(23.2172, 19.4198, 40.0537)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EA9 #8DA96E
analogous
#6E70A9 #8A6EA9 #A86EA9
triadic
#8A6EA9 #A98A6E #6EA98A
tetradic
#8A6EA9 #A96E70 #8DA96E #6EA9A8
square
#8A6EA9 #A96E70 #8DA96E #6EA9A8
split-complementary
#8A6EA9 #A9A86E #70A96E
monochromatic
#4D3A62 #6B5189 #8A6EA9 #A994C0 #C8BBD7

Accessibility & contrast

On white

4.30
#8A6EA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8A6EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EA9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EA9#FFFFFF#000000##000000
##8A6EA91.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6279AB
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#857784
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a6ea9;
/* rgb */ color: rgb(138, 110, 169);
/* oklch */ color: oklch(58.8% 0.093 305.5);
Tailwind
colors: {
  custom: {
    50: '#ad98c2',
    500: '#8a6ea9',
    950: '#000000',
  },
}
SCSS
$custom: #8a6ea9;
$custom-light: #ad98c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6ea9",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 169
  },
  "hsl": {
    "h": 268.475,
    "s": 25.541,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5882,
    "c": 0.09319,
    "h": 305.5
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#8A6EA9
secondary
#BAC6AD
accent
#C26696
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8A6EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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