#8A7CA9#8A7CA9

#8A7CA9 is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.6% C 0.069 H 298.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A7CA9
RGBrgb(138, 124, 169)
HSLhsl(259, 21%, 57%)
HSVhsv(259, 27%, 66%)
CMYKcmyk(18.3%, 26.6%, 0%, 33.7%)
CIE-LABlab(54.74, 14.78, -21.98)
CIE-LCHlch(54.74, 26.48, 303.92°)
OKLaboklab(61.56% 0.0329 -0.0603)
OKLCHoklch(61.56% 0.069 298.6)
XYZxyz(24.8488, 22.6830, 40.5976)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CA9 #9BA97C
analogous
#7C85A9 #8A7CA9 #A17CA9
triadic
#8A7CA9 #A98A7C #7CA98A
tetradic
#8A7CA9 #A97C85 #9BA97C #7CA9A1
square
#8A7CA9 #A97C85 #9BA97C #7CA9A1
split-complementary
#8A7CA9 #A9A17C #85A97C
monochromatic
#4F4467 #6B5C8C #8A7CA9 #ABA1C1 #CCC6DA

Accessibility & contrast

On white

3.79
#8A7CA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A7CA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CA9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CA9#FFFFFF#000000##000000
##8A7CA91.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7283AB
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#85838C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7ca9;
/* rgb */ color: rgb(138, 124, 169);
/* oklch */ color: oklch(61.6% 0.069 298.6);
Tailwind
colors: {
  custom: {
    50: '#aca2c2',
    500: '#8a7ca9',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ca9;
$custom-light: #aca2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ca9",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 169
  },
  "hsl": {
    "h": 258.667,
    "s": 20.737,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.06868,
    "h": 298.6
  },
  "luminance": 0.22683
}

Semantic roles & 50–950 ramp

primary
#8A7CA9
secondary
#C4C9B7
accent
#BD6AA4
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #8A7CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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