#8A7DA4#8A7DA4

#8A7DA4 is a mid, muted violet. Relative luminance 0.228; OKLCH L 61.5% C 0.060 H 299.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A7DA4
RGBrgb(138, 125, 164)
HSLhsl(260, 18%, 57%)
HSVhsv(260, 24%, 64%)
CMYKcmyk(15.9%, 23.8%, 0%, 35.7%)
CIE-LABlab(54.81, 13.04, -18.98)
CIE-LCHlch(54.81, 23.03, 304.48°)
OKLaboklab(61.55% 0.0298 -0.0518)
OKLCHoklch(61.55% 0.06 299.9)
XYZxyz(24.5143, 22.7508, 38.2146)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DA4 #97A47D
analogous
#7D84A4 #8A7DA4 #9E7DA4
triadic
#8A7DA4 #A48A7D #7DA48A
tetradic
#8A7DA4 #A47D84 #97A47D #7DA49E
square
#8A7DA4 #A47D84 #97A47D #7DA49E
split-complementary
#8A7DA4 #A49E7D #84A47D
monochromatic
#4E4562 #6B5E86 #8A7DA4 #AAA1BD #CBC5D6

Accessibility & contrast

On white

3.78
#8A7DA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A7DA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DA4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DA4#FFFFFF#000000##000000
##8A7DA41.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7583A6
Deuteranopia (green-blind)
#7783A3
Tritanopia (blue-blind)
#86838A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7da4;
/* rgb */ color: rgb(138, 125, 164);
/* oklch */ color: oklch(61.5% 0.060 299.9);
Tailwind
colors: {
  custom: {
    50: '#aca2bf',
    500: '#8a7da4',
    950: '#000000',
  },
}
SCSS
$custom: #8a7da4;
$custom-light: #aca2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7da4",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 164
  },
  "hsl": {
    "h": 260,
    "s": 17.647,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61547,
    "c": 0.0598,
    "h": 299.9
  },
  "luminance": 0.22751
}

Semantic roles & 50–950 ramp

primary
#8A7DA4
secondary
#C1C6B6
accent
#BA6DA1
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8A7DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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