#797294#797294

#797294 is a mid, muted violet. Relative luminance 0.182; OKLCH L 57.1% C 0.052 H 294.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#797294
RGBrgb(121, 114, 148)
HSLhsl(252, 14%, 51%)
HSVhsv(252, 23%, 58%)
CMYKcmyk(18.2%, 23%, 0%, 42%)
CIE-LABlab(49.78, 10.07, -17.47)
CIE-LCHlch(49.78, 20.16, 299.95°)
OKLaboklab(57.09% 0.0214 -0.0477)
OKLCHoklch(57.09% 0.052 294.1)
XYZxyz(19.2466, 18.2375, 30.5174)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797294 #8D9472
analogous
#727C94 #797294 #8A7294
triadic
#797294 #947972 #729479
tetradic
#797294 #94727C #8D9472 #72948A
square
#797294 #94727C #8D9472 #72948A
split-complementary
#797294 #948A72 #7C9472
monochromatic
#403C4F #5C5772 #797294 #9A95AE #BBB8C9

Accessibility & contrast

On white

4.52
#797294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#797294 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797294
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797294#FFFFFF#000000##000000
##7972941.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7795
Deuteranopia (green-blind)
#6B7693
Tritanopia (blue-blind)
#74777E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797294;
/* rgb */ color: rgb(121, 114, 148);
/* oklch */ color: oklch(57.1% 0.052 294.1);
Tailwind
colors: {
  custom: {
    50: '#a09ab3',
    500: '#797294',
    950: '#000000',
  },
}
SCSS
$custom: #797294;
$custom-light: #a09ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#797294",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 148
  },
  "hsl": {
    "h": 252.353,
    "s": 13.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.05232,
    "h": 294.1
  },
  "luminance": 0.18238
}

Semantic roles & 50–950 ramp

primary
#797294
secondary
#B5B8A9
accent
#B771A8
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0E11
muted
#7E7E80

Preview Lab

Preview with #797294

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

Preview Lab → · Contrast checker → · Palette generator →

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