#795C8F#795C8F

#795C8F is a mid, moderate violet. Relative luminance 0.137; OKLCH L 52.4% C 0.085 H 309.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#795C8F
RGBrgb(121, 92, 143)
HSLhsl(274, 22%, 46%)
HSVhsv(274, 36%, 56%)
CMYKcmyk(15.4%, 35.7%, 0%, 43.9%)
CIE-LABlab(43.80, 22.10, -23.69)
CIE-LCHlch(43.80, 32.40, 313.01°)
OKLaboklab(52.43% 0.0542 -0.0652)
OKLCHoklch(52.43% 0.085 309.7)
XYZxyz(16.6693, 13.7026, 27.7480)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795C8F #728F5C
analogous
#5F5C8F #795C8F #8F5C8B
triadic
#795C8F #8F795C #5C8F79
tetradic
#795C8F #8F5F5C #728F5C #5C8B8F
square
#795C8F #8F5F5C #728F5C #5C8B8F
split-complementary
#795C8F #8B8F5C #5C8F5F
monochromatic
#3A2C45 #59446A #795C8F #977DAB #B5A2C3

Accessibility & contrast

On white

5.61
#795C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#795C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795C8F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795C8F#FFFFFF#000000##FFFFFF
##795C8F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536691
Deuteranopia (green-blind)
#59688E
Tritanopia (blue-blind)
#76636F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #795c8f;
/* rgb */ color: rgb(121, 92, 143);
/* oklch */ color: oklch(52.4% 0.085 309.7);
Tailwind
colors: {
  custom: {
    50: '#a08ab0',
    500: '#795c8f',
    950: '#000000',
  },
}
SCSS
$custom: #795c8f;
$custom-light: #a08ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#795c8f",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 143
  },
  "hsl": {
    "h": 274.118,
    "s": 21.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.08484,
    "h": 309.7
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#795C8F
secondary
#A1B195
accent
#BE6A8E
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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