#80798E#80798E

#80798E is a mid, muted violet. Relative luminance 0.202; OKLCH L 59.0% C 0.033 H 300.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#80798E
RGBrgb(128, 121, 142)
HSLhsl(260, 9%, 52%)
HSVhsv(260, 15%, 56%)
CMYKcmyk(9.9%, 14.8%, 0%, 44.3%)
CIE-LABlab(52.08, 6.99, -10.41)
CIE-LCHlch(52.08, 12.53, 303.88°)
OKLaboklab(58.95% 0.0166 -0.0281)
OKLCHoklch(58.95% 0.033 300.6)
XYZxyz(20.6210, 20.2169, 28.4018)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80798E #878E79
analogous
#797D8E #80798E #8B798E
triadic
#80798E #8E8079 #798E80
tetradic
#80798E #8E797D #878E79 #798E8B
square
#80798E #8E797D #878E79 #798E8B
split-complementary
#80798E #8E8B79 #7D8E79
monochromatic
#44404C #625C6D #80798E #9F9AAA #BFBBC6

Accessibility & contrast

On white

4.16
#80798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#80798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80798E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80798E#FFFFFF#000000##000000
##80798E1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#757C8F
Deuteranopia (green-blind)
#767C8D
Tritanopia (blue-blind)
#7E7C80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #80798e;
/* rgb */ color: rgb(128, 121, 142);
/* oklch */ color: oklch(59.0% 0.033 300.6);
Tailwind
colors: {
  custom: {
    50: '#a59faf',
    500: '#80798e',
    950: '#000000',
  },
}
SCSS
$custom: #80798e;
$custom-light: #a59faf;
$custom-dark: #000000;
JSON
{
  "hex": "#80798e",
  "rgb": {
    "r": 128,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 260,
    "s": 8.502,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.03261,
    "h": 300.6
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#80798E
secondary
#B3B6AD
accent
#B2769E
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #80798E

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

Preview Lab → · Contrast checker → · Palette generator →

#80798E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva