#797288#797288

#797288 is a mid, muted violet. Relative luminance 0.179; OKLCH L 56.6% C 0.034 H 299.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#797288
RGBrgb(121, 114, 136)
HSLhsl(259, 9%, 49%)
HSVhsv(259, 16%, 53%)
CMYKcmyk(11%, 16.2%, 0%, 46.7%)
CIE-LABlab(49.35, 7.29, -11.05)
CIE-LCHlch(49.35, 13.24, 303.42°)
OKLaboklab(56.61% 0.0171 -0.0299)
OKLCHoklch(56.61% 0.034 299.8)
XYZxyz(18.3455, 17.8771, 25.7719)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797288 #818872
analogous
#727688 #797288 #847288
triadic
#797288 #887972 #728879
tetradic
#797288 #887276 #818872 #728884
square
#797288 #887276 #818872 #728884
split-complementary
#797288 #888472 #768872
monochromatic
#3E3A45 #5B5667 #797288 #9893A4 #B8B4C0

Accessibility & contrast

On white

4.59
#797288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797288
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797288#FFFFFF#000000##FFFFFF
##7972881.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7589
Deuteranopia (green-blind)
#6F7587
Tritanopia (blue-blind)
#777579
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797288;
/* rgb */ color: rgb(121, 114, 136);
/* oklch */ color: oklch(56.6% 0.034 299.8);
Tailwind
colors: {
  custom: {
    50: '#9f9aaa',
    500: '#797288',
    950: '#000000',
  },
}
SCSS
$custom: #797288;
$custom-light: #9f9aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#797288",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 136
  },
  "hsl": {
    "h": 259.091,
    "s": 8.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.03442,
    "h": 299.8
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#797288
secondary
#ADB0A6
accent
#B2769F
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797288

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

Preview Lab → · Contrast checker → · Palette generator →

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