#8A7AA3#8A7AA3

#8A7AA3 is a mid, moderate violet. Relative luminance 0.220; OKLCH L 60.9% C 0.064 H 302.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A7AA3
RGBrgb(138, 122, 163)
HSLhsl(263, 18%, 56%)
HSVhsv(263, 25%, 64%)
CMYKcmyk(15.3%, 25.2%, 0%, 36.1%)
CIE-LABlab(53.99, 14.56, -19.66)
CIE-LCHlch(53.99, 24.47, 306.53°)
OKLaboklab(60.9% 0.0341 -0.0537)
OKLCHoklch(60.9% 0.064 302.4)
XYZxyz(24.0503, 21.9667, 37.6162)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7AA3 #93A37A
analogous
#7A7EA3 #8A7AA3 #9E7AA3
triadic
#8A7AA3 #A38A7A #7AA38A
tetradic
#8A7AA3 #A37A7E #93A37A #7AA39E
square
#8A7AA3 #A37A7E #93A37A #7AA39E
split-complementary
#8A7AA3 #A39E7A #7EA37A
monochromatic
#4E4260 #6B5C84 #8A7AA3 #AA9EBC #CAC2D5

Accessibility & contrast

On white

3.89
#8A7AA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8A7AA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7AA3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7AA3#FFFFFF#000000##000000
##8A7AA31.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7281A5
Deuteranopia (green-blind)
#7581A2
Tritanopia (blue-blind)
#868088
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a7aa3;
/* rgb */ color: rgb(138, 122, 163);
/* oklch */ color: oklch(60.9% 0.064 302.4);
Tailwind
colors: {
  custom: {
    50: '#aca0be',
    500: '#8a7aa3',
    950: '#000000',
  },
}
SCSS
$custom: #8a7aa3;
$custom-light: #aca0be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7aa3",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 163
  },
  "hsl": {
    "h": 263.415,
    "s": 18.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.06363,
    "h": 302.4
  },
  "luminance": 0.21967
}

Semantic roles & 50–950 ramp

primary
#8A7AA3
secondary
#BEC5B4
accent
#BB6D9C
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8A7AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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