#796E95#796E95

#796E95 is a mid, moderate violet. Relative luminance 0.174; OKLCH L 56.3% C 0.061 H 297.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#796E95
RGBrgb(121, 110, 149)
HSLhsl(257, 16%, 51%)
HSVhsv(257, 26%, 58%)
CMYKcmyk(18.8%, 26.2%, 0%, 41.6%)
CIE-LABlab(48.74, 12.69, -19.65)
CIE-LCHlch(48.74, 23.39, 302.87°)
OKLaboklab(56.3% 0.0279 -0.0539)
OKLCHoklch(56.3% 0.061 297.4)
XYZxyz(18.8847, 17.3866, 30.7890)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E95 #8A956E
analogous
#6E7695 #796E95 #8C6E95
triadic
#796E95 #95796E #6E9579
tetradic
#796E95 #956E76 #8A956E #6E958C
square
#796E95 #956E76 #8A956E #6E958C
split-complementary
#796E95 #958C6E #76956E
monochromatic
#403A4F #5C5472 #796E95 #9A91AF #BAB5C9

Accessibility & contrast

On white

4.69
#796E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#796E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E95
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E95#FFFFFF#000000##FFFFFF
##796E951.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667497
Deuteranopia (green-blind)
#677394
Tritanopia (blue-blind)
#74747C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #796e95;
/* rgb */ color: rgb(121, 110, 149);
/* oklch */ color: oklch(56.3% 0.061 297.4);
Tailwind
colors: {
  custom: {
    50: '#a097b4',
    500: '#796e95',
    950: '#000000',
  },
}
SCSS
$custom: #796e95;
$custom-light: #a097b4;
$custom-dark: #000000;
JSON
{
  "hex": "#796e95",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 149
  },
  "hsl": {
    "h": 256.923,
    "s": 15.538,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56301,
    "c": 0.06065,
    "h": 297.4
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#796E95
secondary
#B3B8A7
accent
#B870A4
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0D11
muted
#7E7E80

Preview Lab

Preview with #796E95

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

Preview Lab → · Contrast checker → · Palette generator →

#796E95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva