#8A7DA2#8A7DA2

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

Color values

HEX#8A7DA2
RGBrgb(138, 125, 162)
HSLhsl(261, 17%, 56%)
HSVhsv(261, 23%, 64%)
CMYKcmyk(14.8%, 22.8%, 0%, 36.5%)
CIE-LABlab(54.74, 12.58, -17.94)
CIE-LCHlch(54.74, 21.91, 305.04°)
OKLaboklab(61.46% 0.0292 -0.0489)
OKLCHoklch(61.46% 0.057 300.8)
XYZxyz(24.3351, 22.6791, 37.2709)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DA2 #95A27D
analogous
#7D83A2 #8A7DA2 #9D7DA2
triadic
#8A7DA2 #A28A7D #7DA28A
tetradic
#8A7DA2 #A27D83 #95A27D #7DA29D
square
#8A7DA2 #A27D83 #95A27D #7DA29D
split-complementary
#8A7DA2 #A29D7D #83A27D
monochromatic
#4E4560 #6B5E84 #8A7DA2 #AAA1BC #CAC4D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7DA2#FFFFFF#000000##000000
##8A7DA21.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)
#7683A4
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#86828A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a7da2;
/* rgb */ color: rgb(138, 125, 162);
/* oklch */ color: oklch(61.5% 0.057 300.8);
Tailwind
colors: {
  custom: {
    50: '#aca2bd',
    500: '#8a7da2',
    950: '#000000',
  },
}
SCSS
$custom: #8a7da2;
$custom-light: #aca2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7da2",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 261.081,
    "s": 16.592,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.05696,
    "h": 300.8
  },
  "luminance": 0.22679
}

Semantic roles & 50–950 ramp

primary
#8A7DA2
secondary
#C0C5B6
accent
#B96E9F
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #8A7DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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