#795C8D#795C8D

#795C8D is a mid, moderate violet. Relative luminance 0.136; OKLCH L 52.3% C 0.082 H 310.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#795C8D
RGBrgb(121, 92, 141)
HSLhsl(276, 21%, 46%)
HSVhsv(276, 35%, 55%)
CMYKcmyk(14.2%, 34.8%, 0%, 44.7%)
CIE-LABlab(43.72, 21.64, -22.63)
CIE-LCHlch(43.72, 31.31, 313.72°)
OKLaboklab(52.34% 0.0537 -0.0622)
OKLCHoklch(52.34% 0.082 310.8)
XYZxyz(16.5192, 13.6425, 26.9572)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795C8D #708D5C
analogous
#605C8D #795C8D #8D5C88
triadic
#795C8D #8D795C #5C8D79
tetradic
#795C8D #8D605C #708D5C #5C888D
square
#795C8D #8D605C #708D5C #5C888D
split-complementary
#795C8D #888D5C #5C8D60
monochromatic
#392C43 #594468 #795C8D #977CAA #B5A1C2

Accessibility & contrast

On white

5.63
#795C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#795C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795C8D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795C8D#FFFFFF#000000##FFFFFF
##795C8D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#5A688C
Tritanopia (blue-blind)
#77636E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #795c8d;
/* rgb */ color: rgb(121, 92, 141);
/* oklch */ color: oklch(52.3% 0.082 310.8);
Tailwind
colors: {
  custom: {
    50: '#a08aae',
    500: '#795c8d',
    950: '#000000',
  },
}
SCSS
$custom: #795c8d;
$custom-light: #a08aae;
$custom-dark: #000000;
JSON
{
  "hex": "#795c8d",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 275.51,
    "s": 21.03,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52337,
    "c": 0.08219,
    "h": 310.8
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

primary
#795C8D
secondary
#A0B095
accent
#BE6A8C
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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