#8A6FA7#8A6FA7

#8A6FA7 is a mid, moderate violet. Relative luminance 0.196; OKLCH L 58.9% C 0.089 H 305.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A6FA7
RGBrgb(138, 111, 167)
HSLhsl(269, 24%, 55%)
HSVhsv(269, 34%, 65%)
CMYKcmyk(17.4%, 33.5%, 0%, 34.5%)
CIE-LABlab(51.34, 21.95, -26.07)
CIE-LCHlch(51.34, 34.08, 310.10°)
OKLaboklab(58.92% 0.0521 -0.0718)
OKLCHoklch(58.92% 0.089 305.9)
XYZxyz(23.1394, 19.5623, 39.1086)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6FA7 #8CA76F
analogous
#6F70A7 #8A6FA7 #A66FA7
triadic
#8A6FA7 #A78A6F #6FA78A
tetradic
#8A6FA7 #A76F70 #8CA76F #6FA7A6
square
#8A6FA7 #A76F70 #8CA76F #6FA7A6
split-complementary
#8A6FA7 #A7A66F #70A76F
monochromatic
#4D3B61 #6B5287 #8A6FA7 #A995BE #C8BBD5

Accessibility & contrast

On white

4.27
#8A6FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8A6FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6FA7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6FA7#FFFFFF#000000##000000
##8A6FA71.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6479A9
Deuteranopia (green-blind)
#697BA5
Tritanopia (blue-blind)
#867783
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a6fa7;
/* rgb */ color: rgb(138, 111, 167);
/* oklch */ color: oklch(58.9% 0.089 305.9);
Tailwind
colors: {
  custom: {
    50: '#ad98c1',
    500: '#8a6fa7',
    950: '#000000',
  },
}
SCSS
$custom: #8a6fa7;
$custom-light: #ad98c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6fa7",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 268.929,
    "s": 24.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58916,
    "c": 0.08872,
    "h": 305.9
  },
  "luminance": 0.19562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A6FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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