#795E89#795E89

#795E89 is a mid, moderate violet. Relative luminance 0.139; OKLCH L 52.5% C 0.073 H 312.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#795E89
RGBrgb(121, 94, 137)
HSLhsl(278, 19%, 45%)
HSVhsv(278, 31%, 54%)
CMYKcmyk(11.7%, 31.4%, 0%, 46.3%)
CIE-LABlab(44.06, 19.51, -19.70)
CIE-LCHlch(44.06, 27.73, 314.73°)
OKLaboklab(52.54% 0.0494 -0.0539)
OKLCHoklch(52.54% 0.073 312.5)
XYZxyz(16.4025, 13.8767, 25.4765)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E89 #6E895E
analogous
#635E89 #795E89 #895E84
triadic
#795E89 #89795E #5E8979
tetradic
#795E89 #89635E #6E895E #5E8489
square
#795E89 #89635E #6E895E #5E8489
split-complementary
#795E89 #84895E #5E8963
monochromatic
#392C40 #594565 #795E89 #977EA6 #B4A2BF

Accessibility & contrast

On white

5.56
#795E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#795E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795E89
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E89#FFFFFF#000000##FFFFFF
##795E891.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678B
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#78646D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795e89;
/* rgb */ color: rgb(121, 94, 137);
/* oklch */ color: oklch(52.5% 0.073 312.5);
Tailwind
colors: {
  custom: {
    50: '#a08cab',
    500: '#795e89',
    950: '#000000',
  },
}
SCSS
$custom: #795e89;
$custom-light: #a08cab;
$custom-dark: #000000;
JSON
{
  "hex": "#795e89",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 137
  },
  "hsl": {
    "h": 277.674,
    "s": 18.615,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.07312,
    "h": 312.5
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#795E89
secondary
#9EAE95
accent
#BB6D8A
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795E89

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

Preview Lab → · Contrast checker → · Palette generator →

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