#8A7097#8A7097

#8A7097 is a mid, moderate purple. Relative luminance 0.192; OKLCH L 58.4% C 0.066 H 314.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A7097
RGBrgb(138, 112, 151)
HSLhsl(280, 16%, 52%)
HSVhsv(280, 26%, 59%)
CMYKcmyk(8.6%, 25.8%, 0%, 40.8%)
CIE-LABlab(50.95, 17.76, -17.31)
CIE-LCHlch(50.95, 24.80, 315.75°)
OKLaboklab(58.41% 0.0459 -0.047)
OKLCHoklch(58.41% 0.066 314.3)
XYZxyz(21.8604, 19.2263, 31.8316)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7097 #7D9770
analogous
#777097 #8A7097 #977091
triadic
#8A7097 #978A70 #70978A
tetradic
#8A7097 #977770 #7D9770 #709197
square
#8A7097 #977770 #7D9770 #709197
split-complementary
#8A7097 #919770 #709777
monochromatic
#4A3B51 #6A5575 #8A7097 #A793B1 #C4B7CB

Accessibility & contrast

On white

4.33
#8A7097 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A7097 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7097
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7097#FFFFFF#000000##000000
##8A70971.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7899
Deuteranopia (green-blind)
#707A96
Tritanopia (blue-blind)
#89757E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7097;
/* rgb */ color: rgb(138, 112, 151);
/* oklch */ color: oklch(58.4% 0.066 314.3);
Tailwind
colors: {
  custom: {
    50: '#ac99b5',
    500: '#8a7097',
    950: '#000000',
  },
}
SCSS
$custom: #8a7097;
$custom-light: #ac99b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7097",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 15.789,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.0657,
    "h": 314.3
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#8A7097
secondary
#AFBAA9
accent
#B96F88
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7097

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

Preview Lab → · Contrast checker → · Palette generator →

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