#795A7C#795A7C

#795A7C is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.2% C 0.065 H 323.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#795A7C
RGBrgb(121, 90, 124)
HSLhsl(295, 16%, 42%)
HSVhsv(295, 27%, 49%)
CMYKcmyk(2.4%, 27.4%, 0%, 51.4%)
CIE-LABlab(42.51, 19.07, -14.20)
CIE-LCHlch(42.51, 23.78, 323.33°)
OKLaboklab(51.19% 0.0519 -0.0384)
OKLCHoklch(51.19% 0.065 323.5)
XYZxyz(15.1790, 12.8329, 20.7423)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795A7C #5D7C5A
analogous
#685A7C #795A7C #7C5A6E
triadic
#795A7C #7C795A #5A7C79
tetradic
#795A7C #7C685A #5D7C5A #5A6E7C
square
#795A7C #7C685A #5D7C5A #5A6E7C
split-complementary
#795A7C #6E7C5A #5A7C68
monochromatic
#342735 #564059 #795A7C #99779C #B49AB6

Accessibility & contrast

On white

5.89
#795A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#795A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795A7C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795A7C#FFFFFF#000000##FFFFFF
##795A7C1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627D
Deuteranopia (green-blind)
#5E667B
Tritanopia (blue-blind)
#7A5D66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #795a7c;
/* rgb */ color: rgb(121, 90, 124);
/* oklch */ color: oklch(51.2% 0.065 323.5);
Tailwind
colors: {
  custom: {
    50: '#a089a2',
    500: '#795a7c',
    950: '#000000',
  },
}
SCSS
$custom: #795a7c;
$custom-light: #a089a2;
$custom-dark: #000000;
JSON
{
  "hex": "#795a7c",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 124
  },
  "hsl": {
    "h": 294.706,
    "s": 15.888,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.06459,
    "h": 323.5
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#795A7C
secondary
#90A48E
accent
#B96F76
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0B0F
muted
#7E7C7E

Preview Lab

Preview with #795A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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