#797191#797191

#797191 is a mid, muted violet. Relative luminance 0.179; OKLCH L 56.8% C 0.050 H 296.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#797191
RGBrgb(121, 113, 145)
HSLhsl(255, 13%, 51%)
HSVhsv(255, 22%, 57%)
CMYKcmyk(16.6%, 22.1%, 0%, 43.1%)
CIE-LABlab(49.40, 9.95, -16.29)
CIE-LCHlch(49.40, 19.09, 301.43°)
OKLaboklab(56.76% 0.0219 -0.0444)
OKLCHoklch(56.76% 0.05 296.2)
XYZxyz(18.9000, 17.9194, 29.2457)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797191 #899171
analogous
#717991 #797191 #897191
triadic
#797191 #917971 #719179
tetradic
#797191 #917179 #899171 #719189
square
#797191 #917179 #899171 #719189
split-complementary
#797191 #918971 #799171
monochromatic
#3F3B4C #5C566F #797191 #9A93AC #BAB6C6

Accessibility & contrast

On white

4.58
#797191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#797191 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797191
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797191#FFFFFF#000000##000000
##7971911.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7692
Deuteranopia (green-blind)
#6B7590
Tritanopia (blue-blind)
#75767C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797191;
/* rgb */ color: rgb(121, 113, 145);
/* oklch */ color: oklch(56.8% 0.050 296.2);
Tailwind
colors: {
  custom: {
    50: '#a099b1',
    500: '#797191',
    950: '#000000',
  },
}
SCSS
$custom: #797191;
$custom-light: #a099b1;
$custom-dark: #000000;
JSON
{
  "hex": "#797191",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 145
  },
  "hsl": {
    "h": 255,
    "s": 12.698,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56756,
    "c": 0.04954,
    "h": 296.2
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#797191
secondary
#B2B6A8
accent
#B672A5
background
#F9F9FA
surface
#F2F2F5
border
#CCCCCF
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797191

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

Preview Lab → · Contrast checker → · Palette generator →

#797191 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva