#795B96#795B96

#795B96 is a mid, moderate violet. Relative luminance 0.137; OKLCH L 52.6% C 0.096 H 306.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#795B96
RGBrgb(121, 91, 150)
HSLhsl(271, 24%, 47%)
HSVhsv(271, 39%, 59%)
CMYKcmyk(19.3%, 39.3%, 0%, 41.2%)
CIE-LABlab(43.87, 24.36, -27.78)
CIE-LCHlch(43.87, 36.95, 311.26°)
OKLaboklab(52.59% 0.0575 -0.077)
OKLCHoklch(52.59% 0.096 306.8)
XYZxyz(17.1302, 13.7493, 30.5997)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795B96 #78965B
analogous
#5C5B96 #795B96 #965B96
triadic
#795B96 #96795B #5B9679
tetradic
#795B96 #965C5B #78965B #5B9696
square
#795B96 #965C5B #78965B #5B9696
split-complementary
#795B96 #96965B #5B965C
monochromatic
#3C2D4A #5A4470 #795B96 #987EB1 #B6A4C8

Accessibility & contrast

On white

5.60
#795B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#795B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795B96
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795B96#FFFFFF#000000##FFFFFF
##795B961.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6798
Deuteranopia (green-blind)
#556894
Tritanopia (blue-blind)
#756471
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795b96;
/* rgb */ color: rgb(121, 91, 150);
/* oklch */ color: oklch(52.6% 0.096 306.8);
Tailwind
colors: {
  custom: {
    50: '#a18ab5',
    500: '#795b96',
    950: '#000000',
  },
}
SCSS
$custom: #795b96;
$custom-light: #a18ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#795b96",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 150
  },
  "hsl": {
    "h": 270.508,
    "s": 24.481,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.09605,
    "h": 306.8
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#795B96
secondary
#A6B697
accent
#C16793
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795B96

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

Preview Lab → · Contrast checker → · Palette generator →

#795B96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva