#8A7DA3#8A7DA3

#8A7DA3 is a mid, muted violet. Relative luminance 0.227; OKLCH L 61.5% C 0.058 H 300.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A7DA3
RGBrgb(138, 125, 163)
HSLhsl(261, 17%, 56%)
HSVhsv(261, 23%, 64%)
CMYKcmyk(15.3%, 23.3%, 0%, 36.1%)
CIE-LABlab(54.78, 12.81, -18.46)
CIE-LCHlch(54.78, 22.47, 304.75°)
OKLaboklab(61.51% 0.0295 -0.0504)
OKLCHoklch(61.51% 0.058 300.4)
XYZxyz(24.4244, 22.7148, 37.7409)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DA3 #96A37D
analogous
#7D83A3 #8A7DA3 #9D7DA3
triadic
#8A7DA3 #A38A7D #7DA38A
tetradic
#8A7DA3 #A37D83 #96A37D #7DA39D
square
#8A7DA3 #A37D83 #96A37D #7DA39D
split-complementary
#8A7DA3 #A39D7D #83A37D
monochromatic
#4E4561 #6B5E85 #8A7DA3 #AAA1BC #CBC5D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7DA3#FFFFFF#000000##000000
##8A7DA31.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)
#7683A5
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#86828A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7da3;
/* rgb */ color: rgb(138, 125, 163);
/* oklch */ color: oklch(61.5% 0.058 300.4);
Tailwind
colors: {
  custom: {
    50: '#aca2be',
    500: '#8a7da3',
    950: '#000000',
  },
}
SCSS
$custom: #8a7da3;
$custom-light: #aca2be;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7da3",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 163
  },
  "hsl": {
    "h": 260.526,
    "s": 17.117,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.05838,
    "h": 300.4
  },
  "luminance": 0.22715
}

Semantic roles & 50–950 ramp

primary
#8A7DA3
secondary
#C0C6B6
accent
#BA6EA0
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8A7DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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