#795F88#795F88

#795F88 is a mid, moderate violet. Relative luminance 0.140; OKLCH L 52.7% C 0.070 H 312.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#795F88
RGBrgb(121, 95, 136)
HSLhsl(278, 18%, 45%)
HSVhsv(278, 30%, 53%)
CMYKcmyk(11%, 30.1%, 0%, 46.7%)
CIE-LABlab(44.27, 18.68, -18.76)
CIE-LCHlch(44.27, 26.48, 314.88°)
OKLaboklab(52.69% 0.0475 -0.0513)
OKLCHoklch(52.69% 0.07 312.8)
XYZxyz(16.4206, 14.0272, 25.1303)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F88 #6E885F
analogous
#645F88 #795F88 #885F82
triadic
#795F88 #88795F #5F8879
tetradic
#795F88 #88645F #6E885F #5F8288
square
#795F88 #88645F #6E885F #5F8288
split-complementary
#795F88 #82885F #5F8864
monochromatic
#392D40 #594664 #795F88 #977FA5 #B4A3BF

Accessibility & contrast

On white

5.52
#795F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#795F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795F88
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795F88#FFFFFF#000000##FFFFFF
##795F881.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59678A
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#78646E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795f88;
/* rgb */ color: rgb(121, 95, 136);
/* oklch */ color: oklch(52.7% 0.070 312.8);
Tailwind
colors: {
  custom: {
    50: '#a08caa',
    500: '#795f88',
    950: '#000000',
  },
}
SCSS
$custom: #795f88;
$custom-light: #a08caa;
$custom-dark: #000000;
JSON
{
  "hex": "#795f88",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 136
  },
  "hsl": {
    "h": 278.049,
    "s": 17.749,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.06989,
    "h": 312.8
  },
  "luminance": 0.14027
}

Semantic roles & 50–950 ramp

primary
#795F88
secondary
#9EAD96
accent
#BA6D8A
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #795F88

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

Preview Lab → · Contrast checker → · Palette generator →

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