#8A7CA3#8A7CA3

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

Color values

HEX#8A7CA3
RGBrgb(138, 124, 163)
HSLhsl(262, 17%, 56%)
HSVhsv(262, 24%, 64%)
CMYKcmyk(15.3%, 23.9%, 0%, 36.1%)
CIE-LABlab(54.51, 13.39, -18.86)
CIE-LCHlch(54.51, 23.13, 305.37°)
OKLaboklab(61.3% 0.031 -0.0515)
OKLCHoklch(61.3% 0.06 301.1)
XYZxyz(24.2984, 22.4629, 37.6989)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CA3 #95A37C
analogous
#7C82A3 #8A7CA3 #9E7CA3
triadic
#8A7CA3 #A38A7C #7CA38A
tetradic
#8A7CA3 #A37C82 #95A37C #7CA39E
square
#8A7CA3 #A37C82 #95A37C #7CA39E
split-complementary
#8A7CA3 #A39E7C #82A37C
monochromatic
#4E4461 #6B5D85 #8A7CA3 #AAA0BC #CAC4D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7CA3#FFFFFF#000000##000000
##8A7CA31.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7482A5
Deuteranopia (green-blind)
#7782A2
Tritanopia (blue-blind)
#868289
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7ca3;
/* rgb */ color: rgb(138, 124, 163);
/* oklch */ color: oklch(61.3% 0.060 301.1);
Tailwind
colors: {
  custom: {
    50: '#aca2be',
    500: '#8a7ca3',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ca3;
$custom-light: #aca2be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ca3",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 163
  },
  "hsl": {
    "h": 261.538,
    "s": 17.489,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.06012,
    "h": 301.1
  },
  "luminance": 0.22463
}

Semantic roles & 50–950 ramp

primary
#8A7CA3
secondary
#C0C5B5
accent
#BA6E9F
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #8A7CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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