#8A7CA4#8A7CA4

#8A7CA4 is a mid, moderate violet. Relative luminance 0.225; OKLCH L 61.3% C 0.062 H 300.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A7CA4
RGBrgb(138, 124, 164)
HSLhsl(261, 18%, 56%)
HSVhsv(261, 24%, 64%)
CMYKcmyk(15.9%, 24.4%, 0%, 35.7%)
CIE-LABlab(54.55, 13.62, -19.38)
CIE-LCHlch(54.55, 23.69, 305.10°)
OKLaboklab(61.34% 0.0314 -0.053)
OKLCHoklch(61.34% 0.062 300.6)
XYZxyz(24.3884, 22.4989, 38.1726)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CA4 #96A47C
analogous
#7C82A4 #8A7CA4 #9E7CA4
triadic
#8A7CA4 #A48A7C #7CA48A
tetradic
#8A7CA4 #A47C82 #96A47C #7CA49E
square
#8A7CA4 #A47C82 #96A47C #7CA49E
split-complementary
#8A7CA4 #A49E7C #82A47C
monochromatic
#4E4462 #6B5D86 #8A7CA4 #AAA0BD #CBC4D6

Accessibility & contrast

On white

3.82
#8A7CA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8A7CA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CA4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CA4#FFFFFF#000000##000000
##8A7CA41.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7482A6
Deuteranopia (green-blind)
#7682A3
Tritanopia (blue-blind)
#86828A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7ca4;
/* rgb */ color: rgb(138, 124, 164);
/* oklch */ color: oklch(61.3% 0.062 300.6);
Tailwind
colors: {
  custom: {
    50: '#aca2bf',
    500: '#8a7ca4',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ca4;
$custom-light: #aca2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ca4",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 164
  },
  "hsl": {
    "h": 261,
    "s": 18.018,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61344,
    "c": 0.06154,
    "h": 300.6
  },
  "luminance": 0.22499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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