#795877#795877

#795877 is a mid, moderate purple. Relative luminance 0.124; OKLCH L 50.6% C 0.063 H 328.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#795877
RGBrgb(121, 88, 119)
HSLhsl(304, 16%, 41%)
HSVhsv(304, 27%, 47%)
CMYKcmyk(0%, 27.3%, 1.7%, 52.5%)
CIE-LABlab(41.81, 19.24, -12.22)
CIE-LCHlch(41.81, 22.79, 327.58°)
OKLaboklab(50.59% 0.0536 -0.0329)
OKLCHoklch(50.59% 0.063 328.5)
XYZxyz(14.7043, 12.3768, 19.0636)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795877 #58795A
analogous
#6A5879 #795877 #795866
triadic
#795877 #777958 #587779
tetradic
#795877 #796A58 #58795A #586679
square
#795877 #796A58 #58795A #586679
split-complementary
#795877 #667958 #58796A
monochromatic
#322431 #563E54 #795877 #9A7498 #B498B2

Accessibility & contrast

On white

6.04
#795877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#795877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795877
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795877#FFFFFF#000000##FFFFFF
##7958771.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566078
Deuteranopia (green-blind)
#5E6476
Tritanopia (blue-blind)
#7B5A63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795877;
/* rgb */ color: rgb(121, 88, 119);
/* oklch */ color: oklch(50.6% 0.063 328.5);
Tailwind
colors: {
  custom: {
    50: '#a0879e',
    500: '#795877',
    950: '#000000',
  },
}
SCSS
$custom: #795877;
$custom-light: #a0879e;
$custom-dark: #000000;
JSON
{
  "hex": "#795877",
  "rgb": {
    "r": 121,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 303.636,
    "s": 15.789,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.0629,
    "h": 328.5
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#795877
secondary
#8BA28C
accent
#B9746F
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0B0E
muted
#7E7C7E

Preview Lab

Preview with #795877

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

Preview Lab → · Contrast checker → · Palette generator →

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