#795F87#795F87

#795F87 is a mid, moderate violet. Relative luminance 0.140; OKLCH L 52.6% C 0.069 H 313.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#795F87
RGBrgb(121, 95, 135)
HSLhsl(279, 17%, 45%)
HSVhsv(279, 30%, 53%)
CMYKcmyk(10.4%, 29.6%, 0%, 47.1%)
CIE-LABlab(44.23, 18.46, -18.22)
CIE-LCHlch(44.23, 25.94, 315.36°)
OKLaboklab(52.65% 0.0472 -0.0497)
OKLCHoklch(52.65% 0.069 313.5)
XYZxyz(16.3498, 13.9989, 24.7577)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F87 #6D875F
analogous
#655F87 #795F87 #875F81
triadic
#795F87 #87795F #5F8779
tetradic
#795F87 #87655F #6D875F #5F8187
square
#795F87 #87655F #6D875F #5F8187
split-complementary
#795F87 #81875F #5F8765
monochromatic
#392C3F #594663 #795F87 #977FA5 #B4A2BE

Accessibility & contrast

On white

5.53
#795F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#795F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795F87
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795F87#FFFFFF#000000##FFFFFF
##795F871.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596789
Deuteranopia (green-blind)
#5F6986
Tritanopia (blue-blind)
#78646D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795f87;
/* rgb */ color: rgb(121, 95, 135);
/* oklch */ color: oklch(52.6% 0.069 313.5);
Tailwind
colors: {
  custom: {
    50: '#a08caa',
    500: '#795f87',
    950: '#000000',
  },
}
SCSS
$custom: #795f87;
$custom-light: #a08caa;
$custom-dark: #000000;
JSON
{
  "hex": "#795f87",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 279,
    "s": 17.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52648,
    "c": 0.06858,
    "h": 313.5
  },
  "luminance": 0.13999
}

Semantic roles & 50–950 ramp

primary
#795F87
secondary
#9DAC95
accent
#BA6E88
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #795F87

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

Preview Lab → · Contrast checker → · Palette generator →

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