#8A7CA7#8A7CA7

#8A7CA7 is a mid, moderate violet. Relative luminance 0.226; OKLCH L 61.5% C 0.066 H 299.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A7CA7
RGBrgb(138, 124, 167)
HSLhsl(260, 20%, 57%)
HSVhsv(260, 26%, 65%)
CMYKcmyk(17.4%, 25.7%, 0%, 34.5%)
CIE-LABlab(54.67, 14.31, -20.94)
CIE-LCHlch(54.67, 25.36, 304.35°)
OKLaboklab(61.47% 0.0323 -0.0574)
OKLCHoklch(61.47% 0.066 299.4)
XYZxyz(24.6625, 22.6085, 39.6163)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CA7 #99A77C
analogous
#7C84A7 #8A7CA7 #A07CA7
triadic
#8A7CA7 #A78A7C #7CA78A
tetradic
#8A7CA7 #A77C84 #99A77C #7CA7A0
square
#8A7CA7 #A77C84 #99A77C #7CA7A0
split-complementary
#8A7CA7 #A7A07C #84A77C
monochromatic
#4F4465 #6B5C89 #8A7CA7 #ABA1C0 #CBC5D8

Accessibility & contrast

On white

3.80
#8A7CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A7CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CA7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CA7#FFFFFF#000000##000000
##8A7CA71.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7383A9
Deuteranopia (green-blind)
#7582A6
Tritanopia (blue-blind)
#85828B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7ca7;
/* rgb */ color: rgb(138, 124, 167);
/* oklch */ color: oklch(61.5% 0.066 299.4);
Tailwind
colors: {
  custom: {
    50: '#aca2c1',
    500: '#8a7ca7',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ca7;
$custom-light: #aca2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ca7",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 259.535,
    "s": 19.635,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.06583,
    "h": 299.4
  },
  "luminance": 0.22609
}

Semantic roles & 50–950 ramp

primary
#8A7CA7
secondary
#C2C8B7
accent
#BC6CA2
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #8A7CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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