#795177#795177

#795177 is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.3% C 0.077 H 328.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#795177
RGBrgb(121, 81, 119)
HSLhsl(303, 20%, 40%)
HSVhsv(303, 33%, 47%)
CMYKcmyk(0%, 33.1%, 1.7%, 52.5%)
CIE-LABlab(40.05, 23.44, -14.89)
CIE-LCHlch(40.05, 27.77, 327.58°)
OKLaboklab(49.25% 0.0654 -0.0402)
OKLCHoklch(49.25% 0.077 328.4)
XYZxyz(14.1571, 11.2823, 18.8811)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795177 #517953
analogous
#675179 #795177 #795163
triadic
#795177 #777951 #517779
tetradic
#795177 #796751 #517953 #516379
square
#795177 #796751 #517953 #516379
split-complementary
#795177 #637951 #517967
monochromatic
#30202F #543853 #795177 #9C6B9A #B590B3

Accessibility & contrast

On white

6.45
#795177 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#795177 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795177
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795177#FFFFFF#000000##FFFFFF
##7951771.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5B78
Deuteranopia (green-blind)
#596076
Tritanopia (blue-blind)
#7C545F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #795177;
/* rgb */ color: rgb(121, 81, 119);
/* oklch */ color: oklch(49.3% 0.077 328.4);
Tailwind
colors: {
  custom: {
    50: '#a0829e',
    500: '#795177',
    950: '#000000',
  },
}
SCSS
$custom: #795177;
$custom-light: #a0829e;
$custom-dark: #000000;
JSON
{
  "hex": "#795177",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 119
  },
  "hsl": {
    "h": 303,
    "s": 19.802,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.07678,
    "h": 328.4
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#795177
secondary
#84A285
accent
#BC6F6B
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #795177

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

Preview Lab → · Contrast checker → · Palette generator →

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