#796992#796992

#796992 is a mid, moderate violet. Relative luminance 0.162; OKLCH L 55.1% C 0.065 H 302.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#796992
RGBrgb(121, 105, 146)
HSLhsl(263, 16%, 49%)
HSVhsv(263, 28%, 57%)
CMYKcmyk(17.1%, 28.1%, 0%, 42.7%)
CIE-LABlab(47.29, 14.98, -20.10)
CIE-LCHlch(47.29, 25.07, 306.70°)
OKLaboklab(55.14% 0.0347 -0.0551)
OKLCHoklch(55.14% 0.065 302.2)
XYZxyz(18.1240, 16.2434, 29.3690)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796992 #829269
analogous
#696E92 #796992 #8E6992
triadic
#796992 #927969 #699279
tetradic
#796992 #92696E #829269 #69928E
square
#796992 #92696E #829269 #69928E
split-complementary
#796992 #928E69 #6E9269
monochromatic
#3E364B #5B4F6E #796992 #998CAC #B8B0C6

Accessibility & contrast

On white

4.94
#796992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#796992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796992
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796992#FFFFFF#000000##FFFFFF
##7969921.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617094
Deuteranopia (green-blind)
#647091
Tritanopia (blue-blind)
#756F77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #796992;
/* rgb */ color: rgb(121, 105, 146);
/* oklch */ color: oklch(55.1% 0.065 302.2);
Tailwind
colors: {
  custom: {
    50: '#a094b2',
    500: '#796992',
    950: '#000000',
  },
}
SCSS
$custom: #796992;
$custom-light: #a094b2;
$custom-dark: #000000;
JSON
{
  "hex": "#796992",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 146
  },
  "hsl": {
    "h": 263.415,
    "s": 16.335,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.06513,
    "h": 302.2
  },
  "luminance": 0.16243
}

Semantic roles & 50–950 ramp

primary
#796992
secondary
#ADB5A2
accent
#B96F9C
background
#F9F9FA
surface
#F2F1F5
border
#CCCBCF
text
#0E0D11
muted
#7E7E80

Preview Lab

Preview with #796992

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

Preview Lab → · Contrast checker → · Palette generator →

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