#795D8D#795D8D

#795D8D is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.5% C 0.080 H 310.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#795D8D
RGBrgb(121, 93, 141)
HSLhsl(275, 21%, 46%)
HSVhsv(275, 34%, 55%)
CMYKcmyk(14.2%, 34%, 0%, 44.7%)
CIE-LABlab(43.97, 21.03, -22.23)
CIE-LCHlch(43.97, 30.61, 313.41°)
OKLaboklab(52.53% 0.0521 -0.0611)
OKLCHoklch(52.53% 0.08 310.5)
XYZxyz(16.6064, 13.8169, 26.9862)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795D8D #718D5D
analogous
#615D8D #795D8D #8D5D89
triadic
#795D8D #8D795D #5D8D79
tetradic
#795D8D #8D615D #718D5D #5D898D
square
#795D8D #8D615D #718D5D #5D898D
split-complementary
#795D8D #898D5D #5D8D61
monochromatic
#3A2C43 #594568 #795D8D #977EAA #B5A2C2

Accessibility & contrast

On white

5.58
#795D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#795D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795D8D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795D8D#FFFFFF#000000##FFFFFF
##795D8D1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#5B688C
Tritanopia (blue-blind)
#77646F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795d8d;
/* rgb */ color: rgb(121, 93, 141);
/* oklch */ color: oklch(52.5% 0.080 310.5);
Tailwind
colors: {
  custom: {
    50: '#a08bae',
    500: '#795d8d',
    950: '#000000',
  },
}
SCSS
$custom: #795d8d;
$custom-light: #a08bae;
$custom-dark: #000000;
JSON
{
  "hex": "#795d8d",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 275,
    "s": 20.513,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.08032,
    "h": 310.5
  },
  "luminance": 0.13817
}

Semantic roles & 50–950 ramp

primary
#795D8D
secondary
#A1B096
accent
#BD6B8D
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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