#795779#795779

#795779 is a mid, moderate purple. Relative luminance 0.123; OKLCH L 50.5% C 0.067 H 326.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#795779
RGBrgb(121, 87, 121)
HSLhsl(300, 16%, 41%)
HSVhsv(300, 28%, 47%)
CMYKcmyk(0%, 28.1%, 0%, 52.5%)
CIE-LABlab(41.63, 20.25, -13.71)
CIE-LCHlch(41.63, 24.46, 325.90°)
OKLaboklab(50.48% 0.056 -0.037)
OKLCHoklch(50.48% 0.067 326.5)
XYZxyz(14.7442, 12.2623, 19.6756)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795779 #577957
analogous
#685779 #795779 #795768
triadic
#795779 #797957 #577979
tetradic
#795779 #796857 #577957 #576879
square
#795779 #796857 #577957 #576879
split-complementary
#795779 #687957 #577968
monochromatic
#322432 #553D55 #795779 #9A739A #B497B4

Accessibility & contrast

On white

6.08
#795779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#795779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795779
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795779#FFFFFF#000000##FFFFFF
##7957791.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607A
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#7B5A63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795779;
/* rgb */ color: rgb(121, 87, 121);
/* oklch */ color: oklch(50.5% 0.067 326.5);
Tailwind
colors: {
  custom: {
    50: '#a0879f',
    500: '#795779',
    950: '#000000',
  },
}
SCSS
$custom: #795779;
$custom-light: #a0879f;
$custom-dark: #000000;
JSON
{
  "hex": "#795779",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 16.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.0671,
    "h": 326.5
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#795779
secondary
#8AA28A
accent
#B96F6F
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0B0E
muted
#7E7C7E

Preview Lab

Preview with #795779

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

Preview Lab → · Contrast checker → · Palette generator →

#795779 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva