#795C8A#795C8A

#795C8A is a mid, moderate violet. Relative luminance 0.136; OKLCH L 52.2% C 0.078 H 312.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#795C8A
RGBrgb(121, 92, 138)
HSLhsl(278, 20%, 45%)
HSVhsv(278, 33%, 54%)
CMYKcmyk(12.3%, 33.3%, 0%, 45.9%)
CIE-LABlab(43.59, 20.95, -21.02)
CIE-LCHlch(43.59, 29.67, 314.90°)
OKLaboklab(52.2% 0.0529 -0.0576)
OKLCHoklch(52.2% 0.078 312.5)
XYZxyz(16.2990, 13.5545, 25.7975)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795C8A #6D8A5C
analogous
#625C8A #795C8A #8A5C84
triadic
#795C8A #8A795C #5C8A79
tetradic
#795C8A #8A625C #6D8A5C #5C848A
square
#795C8A #8A625C #6D8A5C #5C848A
split-complementary
#795C8A #848A5C #5C8A62
monochromatic
#392B41 #594465 #795C8A #977CA7 #B4A0C0

Accessibility & contrast

On white

5.66
#795C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#795C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795C8A
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795C8A#FFFFFF#000000##FFFFFF
##795C8A1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54658C
Deuteranopia (green-blind)
#5B6889
Tritanopia (blue-blind)
#78626D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #795c8a;
/* rgb */ color: rgb(121, 92, 138);
/* oklch */ color: oklch(52.2% 0.078 312.5);
Tailwind
colors: {
  custom: {
    50: '#a08aac',
    500: '#795c8a',
    950: '#000000',
  },
}
SCSS
$custom: #795c8a;
$custom-light: #a08aac;
$custom-dark: #000000;
JSON
{
  "hex": "#795c8a",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 277.826,
    "s": 20,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.07824,
    "h": 312.5
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#795C8A
secondary
#9DAE94
accent
#BD6B89
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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