#8A7AAA#8A7AAA

#8A7AAA is a mid, moderate violet. Relative luminance 0.222; OKLCH L 61.2% C 0.074 H 299.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A7AAA
RGBrgb(138, 122, 170)
HSLhsl(260, 22%, 57%)
HSVhsv(260, 28%, 67%)
CMYKcmyk(18.8%, 28.2%, 0%, 33.3%)
CIE-LABlab(54.26, 16.19, -23.29)
CIE-LCHlch(54.26, 28.36, 304.80°)
OKLaboklab(61.2% 0.0362 -0.064)
OKLCHoklch(61.2% 0.074 299.5)
XYZxyz(24.6949, 22.2245, 41.0112)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AAA #9AAA7A
analogous
#7A82AA #8A7AAA #A27AAA
triadic
#8A7AAA #AA8A7A #7AAA8A
tetradic
#8A7AAA #AA7A82 #9AAA7A #7AAAA2
square
#8A7AAA #AA7A82 #9AAA7A #7AAAA2
split-complementary
#8A7AAA #AAA27A #82AA7A
monochromatic
#4F4267 #6B5A8D #8A7AAA #AB9FC2 #CCC5DA

Accessibility & contrast

On white

3.86
#8A7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AAA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AAA#FFFFFF#000000##000000
##8A7AAA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7082AC
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#84818B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7aaa;
/* rgb */ color: rgb(138, 122, 170);
/* oklch */ color: oklch(61.2% 0.074 299.5);
Tailwind
colors: {
  custom: {
    50: '#aca0c3',
    500: '#8a7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aaa;
$custom-light: #aca0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aaa",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 260,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.07354,
    "h": 299.5
  },
  "luminance": 0.22225
}

Semantic roles & 50–950 ramp

primary
#8A7AAA
secondary
#C3CAB6
accent
#BF69A2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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