#797189#797189

#797189 is a mid, muted violet. Relative luminance 0.177; OKLCH L 56.4% C 0.038 H 300.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#797189
RGBrgb(121, 113, 137)
HSLhsl(260, 10%, 49%)
HSVhsv(260, 18%, 54%)
CMYKcmyk(11.7%, 17.5%, 0%, 46.3%)
CIE-LABlab(49.11, 8.11, -12.00)
CIE-LCHlch(49.11, 14.48, 304.04°)
OKLaboklab(56.43% 0.0191 -0.0325)
OKLCHoklch(56.43% 0.038 300.4)
XYZxyz(18.3048, 17.6813, 26.1106)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797189 #818971
analogous
#717589 #797189 #857189
triadic
#797189 #897971 #718979
tetradic
#797189 #897175 #818971 #718985
square
#797189 #897175 #818971 #718985
split-complementary
#797189 #898571 #758971
monochromatic
#3E3A46 #5B5567 #797189 #9892A5 #B8B4C1

Accessibility & contrast

On white

4.63
#797189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#797189 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797189
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797189#FFFFFF#000000##FFFFFF
##7971891.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758A
Deuteranopia (green-blind)
#6E7588
Tritanopia (blue-blind)
#767479
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797189;
/* rgb */ color: rgb(121, 113, 137);
/* oklch */ color: oklch(56.4% 0.038 300.4);
Tailwind
colors: {
  custom: {
    50: '#9f99ab',
    500: '#797189',
    950: '#000000',
  },
}
SCSS
$custom: #797189;
$custom-light: #9f99ab;
$custom-dark: #000000;
JSON
{
  "hex": "#797189",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 137
  },
  "hsl": {
    "h": 260,
    "s": 9.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56434,
    "c": 0.03767,
    "h": 300.4
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

primary
#797189
secondary
#ADB1A5
accent
#B3759E
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797189

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

Preview Lab → · Contrast checker → · Palette generator →

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