#9A7EA0#9A7EA0

#9A7EA0 is a light, muted purple. Relative luminance 0.243; OKLCH L 63.1% C 0.060 H 320.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9A7EA0
RGBrgb(154, 126, 160)
HSLhsl(289, 15%, 56%)
HSVhsv(289, 21%, 63%)
CMYKcmyk(3.8%, 21.2%, 0%, 37.3%)
CIE-LABlab(56.42, 17.07, -14.10)
CIE-LCHlch(56.42, 22.14, 320.45°)
OKLaboklab(63.09% 0.0458 -0.038)
OKLCHoklch(63.09% 0.06 320.3)
XYZxyz(27.1316, 24.3303, 36.5178)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7EA0 #84A07E
analogous
#897EA0 #9A7EA0 #A07E95
triadic
#9A7EA0 #A09A7E #7EA09A
tetradic
#9A7EA0 #A0897E #84A07E #7E95A0
square
#9A7EA0 #A0897E #84A07E #7E95A0
split-complementary
#9A7EA0 #95A07E #7EA089
monochromatic
#5A455E #7B5F81 #9A7EA0 #B6A1BA #D1C4D4

Accessibility & contrast

On white

3.58
#9A7EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9A7EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7EA0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7EA0#FFFFFF#000000##000000
##9A7EA01.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B85A1
Deuteranopia (green-blind)
#81889F
Tritanopia (blue-blind)
#9B818A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9a7ea0;
/* rgb */ color: rgb(154, 126, 160);
/* oklch */ color: oklch(63.1% 0.060 320.3);
Tailwind
colors: {
  custom: {
    50: '#b8a3bc',
    500: '#9a7ea0',
    950: '#000000',
  },
}
SCSS
$custom: #9a7ea0;
$custom-light: #b8a3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7ea0",
  "rgb": {
    "r": 154,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 289.412,
    "s": 15.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63089,
    "c": 0.05954,
    "h": 320.3
  },
  "luminance": 0.2433
}

Semantic roles & 50–950 ramp

primary
#9A7EA0
secondary
#B8C4B6
accent
#B8707D
background
#FBFAFB
surface
#F6F3F6
border
#D0CDD0
text
#110F12
muted
#807F81

Preview Lab

Preview with #9A7EA0

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

Preview Lab → · Contrast checker → · Palette generator →

#9A7EA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva