#8A6EAF#8A6EAF

#8A6EAF is a mid, moderate violet. Relative luminance 0.197; OKLCH L 59.1% C 0.101 H 303.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A6EAF
RGBrgb(138, 110, 175)
HSLhsl(266, 29%, 56%)
HSVhsv(266, 37%, 69%)
CMYKcmyk(21.1%, 37.1%, 0%, 31.4%)
CIE-LABlab(51.44, 24.43, -30.56)
CIE-LCHlch(51.44, 39.13, 308.64°)
OKLaboklab(59.11% 0.0555 -0.0847)
OKLCHoklch(59.11% 0.101 303.3)
XYZxyz(23.7934, 19.6503, 43.0885)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6EAF #93AF6E
analogous
#6E72AF #8A6EAF #AA6EAF
triadic
#8A6EAF #AF8A6E #6EAF8A
tetradic
#8A6EAF #AF6E72 #93AF6E #6EAFAA
square
#8A6EAF #AF6E72 #93AF6E #6EAFAA
split-complementary
#8A6EAF #AFAA6E #72AF6E
monochromatic
#4E3A69 #6B5090 #8A6EAF #AA95C5 #CABDDB

Accessibility & contrast

On white

4.26
#8A6EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8A6EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6EAF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6EAF#FFFFFF#000000##000000
##8A6EAF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB2
Deuteranopia (green-blind)
#657BAD
Tritanopia (blue-blind)
#847886
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a6eaf;
/* rgb */ color: rgb(138, 110, 175);
/* oklch */ color: oklch(59.1% 0.101 303.3);
Tailwind
colors: {
  custom: {
    50: '#ad98c7',
    500: '#8a6eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6eaf;
$custom-light: #ad98c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6eaf",
  "rgb": {
    "r": 138,
    "g": 110,
    "b": 175
  },
  "hsl": {
    "h": 265.846,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.10129,
    "h": 303.3
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

primary
#8A6EAF
secondary
#BECAAF
accent
#C5639B
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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