#8A7299#8A7299

#8A7299 is a mid, moderate violet. Relative luminance 0.197; OKLCH L 58.9% C 0.065 H 312.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A7299
RGBrgb(138, 114, 153)
HSLhsl(277, 16%, 52%)
HSVhsv(277, 25%, 60%)
CMYKcmyk(9.8%, 25.5%, 0%, 40%)
CIE-LABlab(51.54, 17.02, -17.58)
CIE-LCHlch(51.54, 24.47, 314.08°)
OKLaboklab(58.89% 0.0434 -0.0478)
OKLCHoklch(58.89% 0.065 312.2)
XYZxyz(22.2474, 19.7381, 32.7686)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7299 #819972
analogous
#777299 #8A7299 #997294
triadic
#8A7299 #998A72 #72998A
tetradic
#8A7299 #997772 #819972 #729499
square
#8A7299 #997772 #819972 #729499
split-complementary
#8A7299 #949972 #729977
monochromatic
#4B3D54 #6B5677 #8A7299 #A796B3 #C5B9CC

Accessibility & contrast

On white

4.24
#8A7299 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8A7299 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7299
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7299#FFFFFF#000000##000000
##8A72991.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7A9B
Deuteranopia (green-blind)
#717B98
Tritanopia (blue-blind)
#897780
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7299;
/* rgb */ color: rgb(138, 114, 153);
/* oklch */ color: oklch(58.9% 0.065 312.2);
Tailwind
colors: {
  custom: {
    50: '#ac9ab7',
    500: '#8a7299',
    950: '#000000',
  },
}
SCSS
$custom: #8a7299;
$custom-light: #ac9ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7299",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 153
  },
  "hsl": {
    "h": 276.923,
    "s": 16.049,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58886,
    "c": 0.06455,
    "h": 312.2
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#8A7299
secondary
#B1BCAB
accent
#B96F8B
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7299

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

Preview Lab → · Contrast checker → · Palette generator →

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