#8A7CA2#8A7CA2

#8A7CA2 is a mid, muted violet. Relative luminance 0.224; OKLCH L 61.3% C 0.059 H 301.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A7CA2
RGBrgb(138, 124, 162)
HSLhsl(262, 17%, 56%)
HSVhsv(262, 23%, 64%)
CMYKcmyk(14.8%, 23.5%, 0%, 36.5%)
CIE-LABlab(54.48, 13.16, -18.34)
CIE-LCHlch(54.48, 22.57, 305.67°)
OKLaboklab(61.26% 0.0307 -0.05)
OKLCHoklch(61.26% 0.059 301.5)
XYZxyz(24.2092, 22.4272, 37.2289)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CA2 #94A27C
analogous
#7C81A2 #8A7CA2 #9D7CA2
triadic
#8A7CA2 #A28A7C #7CA28A
tetradic
#8A7CA2 #A27C81 #94A27C #7CA29D
square
#8A7CA2 #A27C81 #94A27C #7CA29D
split-complementary
#8A7CA2 #A29D7C #81A27C
monochromatic
#4E4460 #6B5D83 #8A7CA2 #AAA0BB #CAC4D5

Accessibility & contrast

On white

3.83
#8A7CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8A7CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CA2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CA2#FFFFFF#000000##000000
##8A7CA21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7582A4
Deuteranopia (green-blind)
#7782A1
Tritanopia (blue-blind)
#868189
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7ca2;
/* rgb */ color: rgb(138, 124, 162);
/* oklch */ color: oklch(61.3% 0.059 301.5);
Tailwind
colors: {
  custom: {
    50: '#aca2bd',
    500: '#8a7ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ca2;
$custom-light: #aca2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ca2",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 262.105,
    "s": 16.964,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.0587,
    "h": 301.5
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#8A7CA2
secondary
#BFC5B5
accent
#BA6E9E
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #8A7CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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