#796B95#796B95

#796B95 is a mid, moderate violet. Relative luminance 0.168; OKLCH L 55.7% C 0.066 H 299.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#796B95
RGBrgb(121, 107, 149)
HSLhsl(260, 17%, 50%)
HSVhsv(260, 28%, 58%)
CMYKcmyk(18.8%, 28.2%, 0%, 41.6%)
CIE-LABlab(47.94, 14.49, -20.87)
CIE-LCHlch(47.94, 25.41, 304.77°)
OKLaboklab(55.68% 0.0325 -0.0573)
OKLCHoklch(55.68% 0.066 299.5)
XYZxyz(18.5665, 16.7502, 30.6829)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796B95 #87956B
analogous
#6B7295 #796B95 #8E6B95
triadic
#796B95 #95796B #6B9579
tetradic
#796B95 #956B72 #87956B #6B958E
square
#796B95 #956B72 #87956B #6B958E
split-complementary
#796B95 #958E6B #72956B
monochromatic
#3F384E #5C5172 #796B95 #998FAF #BAB2C8

Accessibility & contrast

On white

4.83
#796B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#796B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796B95
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796B95#FFFFFF#000000##FFFFFF
##796B951.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627297
Deuteranopia (green-blind)
#647194
Tritanopia (blue-blind)
#74717A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #796b95;
/* rgb */ color: rgb(121, 107, 149);
/* oklch */ color: oklch(55.7% 0.066 299.5);
Tailwind
colors: {
  custom: {
    50: '#a095b4',
    500: '#796b95',
    950: '#000000',
  },
}
SCSS
$custom: #796b95;
$custom-light: #a095b4;
$custom-dark: #000000;
JSON
{
  "hex": "#796b95",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 149
  },
  "hsl": {
    "h": 260,
    "s": 16.535,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55684,
    "c": 0.0659,
    "h": 299.5
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#796B95
secondary
#B1B7A5
accent
#B96FA0
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0F0D11
muted
#7E7E80

Preview Lab

Preview with #796B95

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

Preview Lab → · Contrast checker → · Palette generator →

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