#8A6AAF#8A6AAF

#8A6AAF is a mid, moderate violet. Relative luminance 0.188; OKLCH L 58.4% C 0.108 H 304.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A6AAF
RGBrgb(138, 106, 175)
HSLhsl(268, 30%, 55%)
HSVhsv(268, 39%, 69%)
CMYKcmyk(21.1%, 39.4%, 0%, 31.4%)
CIE-LABlab(50.46, 26.78, -32.09)
CIE-LCHlch(50.46, 41.80, 309.85°)
OKLaboklab(58.37% 0.0615 -0.0891)
OKLCHoklch(58.37% 0.108 304.6)
XYZxyz(23.3715, 18.8066, 42.9479)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6AAF #8FAF6A
analogous
#6A6CAF #8A6AAF #AC6AAF
triadic
#8A6AAF #AF8A6A #6AAF8A
tetradic
#8A6AAF #AF6A6C #8FAF6A #6AAFAC
square
#8A6AAF #AF6A6C #8FAF6A #6AAFAC
split-complementary
#8A6AAF #AFAC6A #6CAF6A
monochromatic
#4E3767 #6C4D8F #8A6AAF #A992C4 #C9BADA

Accessibility & contrast

On white

4.41
#8A6AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A6AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A6AAF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6AAF#FFFFFF#000000##000000
##8A6AAF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A77B2
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#847584
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a6aaf;
/* rgb */ color: rgb(138, 106, 175);
/* oklch */ color: oklch(58.4% 0.108 304.6);
Tailwind
colors: {
  custom: {
    50: '#ad95c7',
    500: '#8a6aaf',
    950: '#000000',
  },
}
SCSS
$custom: #8a6aaf;
$custom-light: #ad95c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6aaf",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 267.826,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.10824,
    "h": 304.6
  },
  "luminance": 0.18806
}

Semantic roles & 50–950 ramp

primary
#8A6AAF
secondary
#BBC9AC
accent
#C66198
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8A6AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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