#797192#797192

#797192 is a mid, muted violet. Relative luminance 0.180; OKLCH L 56.8% C 0.051 H 295.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#797192
RGBrgb(121, 113, 146)
HSLhsl(255, 13%, 51%)
HSVhsv(255, 23%, 57%)
CMYKcmyk(17.1%, 22.6%, 0%, 42.7%)
CIE-LABlab(49.44, 10.19, -16.82)
CIE-LCHlch(49.44, 19.66, 301.20°)
OKLaboklab(56.8% 0.0223 -0.0459)
OKLCHoklch(56.8% 0.051 295.9)
XYZxyz(18.9775, 17.9504, 29.6535)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797192 #8A9271
analogous
#717992 #797192 #897192
triadic
#797192 #927971 #719279
tetradic
#797192 #927179 #8A9271 #719289
square
#797192 #927179 #8A9271 #719289
split-complementary
#797192 #928971 #799271
monochromatic
#403B4D #5C5670 #797192 #9A94AD #BAB6C7

Accessibility & contrast

On white

4.57
#797192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#797192 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797192
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797192#FFFFFF#000000##000000
##7971921.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7693
Deuteranopia (green-blind)
#6B7591
Tritanopia (blue-blind)
#74767C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797192;
/* rgb */ color: rgb(121, 113, 146);
/* oklch */ color: oklch(56.8% 0.051 295.9);
Tailwind
colors: {
  custom: {
    50: '#a099b2',
    500: '#797192',
    950: '#000000',
  },
}
SCSS
$custom: #797192;
$custom-light: #a099b2;
$custom-dark: #000000;
JSON
{
  "hex": "#797192",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 146
  },
  "hsl": {
    "h": 254.545,
    "s": 13.147,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56798,
    "c": 0.05103,
    "h": 295.9
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797192

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

Preview Lab → · Contrast checker → · Palette generator →

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