#8A7CA5#8A7CA5

#8A7CA5 is a mid, moderate violet. Relative luminance 0.225; OKLCH L 61.4% C 0.063 H 300.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A7CA5
RGBrgb(138, 124, 165)
HSLhsl(260, 19%, 57%)
HSVhsv(260, 25%, 65%)
CMYKcmyk(16.4%, 24.8%, 0%, 35.3%)
CIE-LABlab(54.59, 13.85, -19.90)
CIE-LCHlch(54.59, 24.25, 304.83°)
OKLaboklab(61.39% 0.0317 -0.0544)
OKLCHoklch(61.39% 0.063 300.2)
XYZxyz(24.4790, 22.5351, 38.6501)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CA5 #97A57C
analogous
#7C83A5 #8A7CA5 #9F7CA5
triadic
#8A7CA5 #A58A7C #7CA58A
tetradic
#8A7CA5 #A57C83 #97A57C #7CA59F
square
#8A7CA5 #A57C83 #97A57C #7CA59F
split-complementary
#8A7CA5 #A59F7C #83A57C
monochromatic
#4E4463 #6B5D87 #8A7CA5 #AAA0BE #CBC5D7

Accessibility & contrast

On white

3.81
#8A7CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A7CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CA5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CA5#FFFFFF#000000##000000
##8A7CA51.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7482A7
Deuteranopia (green-blind)
#7682A4
Tritanopia (blue-blind)
#85828A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7ca5;
/* rgb */ color: rgb(138, 124, 165);
/* oklch */ color: oklch(61.4% 0.063 300.2);
Tailwind
colors: {
  custom: {
    50: '#aca2bf',
    500: '#8a7ca5',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ca5;
$custom-light: #aca2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ca5",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 260.488,
    "s": 18.552,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61386,
    "c": 0.06297,
    "h": 300.2
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

primary
#8A7CA5
secondary
#C1C7B6
accent
#BB6DA0
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #8A7CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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