#797489#797489

#797489 is a mid, muted violet. Relative luminance 0.184; OKLCH L 57.1% C 0.032 H 296.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#797489
RGBrgb(121, 116, 137)
HSLhsl(254, 8%, 50%)
HSVhsv(254, 15%, 54%)
CMYKcmyk(11.7%, 15.3%, 0%, 46.3%)
CIE-LABlab(49.93, 6.33, -10.76)
CIE-LCHlch(49.93, 12.48, 300.48°)
OKLaboklab(57.08% 0.0144 -0.0291)
OKLCHoklch(57.08% 0.032 296.3)
XYZxyz(18.6450, 18.3618, 26.2240)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797489 #848974
analogous
#747A89 #797489 #847489
triadic
#797489 #897974 #748979
tetradic
#797489 #89747A #848974 #748984
square
#797489 #89747A #848974 #748984
split-complementary
#797489 #898474 #7A8974
monochromatic
#3E3C47 #5C5868 #797489 #9995A5 #B9B6C1

Accessibility & contrast

On white

4.49
#797489 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#797489 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797489
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797489#FFFFFF#000000##000000
##7974891.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70778A
Deuteranopia (green-blind)
#707788
Tritanopia (blue-blind)
#76777B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797489;
/* rgb */ color: rgb(121, 116, 137);
/* oklch */ color: oklch(57.1% 0.032 296.3);
Tailwind
colors: {
  custom: {
    50: '#9f9cab',
    500: '#797489',
    950: '#000000',
  },
}
SCSS
$custom: #797489;
$custom-light: #9f9cab;
$custom-dark: #000000;
JSON
{
  "hex": "#797489",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 137
  },
  "hsl": {
    "h": 254.286,
    "s": 8.3,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.03243,
    "h": 296.3
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

primary
#797489
secondary
#AFB1A8
accent
#B176A3
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797489

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

Preview Lab → · Contrast checker → · Palette generator →

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