#795179#795179

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

Color values

HEX#795179
RGBrgb(121, 81, 121)
HSLhsl(300, 20%, 40%)
HSVhsv(300, 33%, 47%)
CMYKcmyk(0%, 33.1%, 0%, 52.5%)
CIE-LABlab(40.13, 23.85, -15.99)
CIE-LCHlch(40.13, 28.72, 326.15°)
OKLaboklab(49.34% 0.066 -0.0434)
OKLCHoklch(49.34% 0.079 326.7)
XYZxyz(14.2785, 11.3308, 19.5204)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795179 #517951
analogous
#655179 #795179 #795165
triadic
#795179 #797951 #517979
tetradic
#795179 #796551 #517951 #516579
square
#795179 #796551 #517951 #516579
split-complementary
#795179 #657951 #517965
monochromatic
#302030 #543854 #795179 #9C6B9C #B590B5

Accessibility & contrast

On white

6.43
#795179 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#795179 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795179
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795179#FFFFFF#000000##FFFFFF
##7951791.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7B
Deuteranopia (green-blind)
#586078
Tritanopia (blue-blind)
#7B5560
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #795179;
/* rgb */ color: rgb(121, 81, 121);
/* oklch */ color: oklch(49.3% 0.079 326.7);
Tailwind
colors: {
  custom: {
    50: '#a0829f',
    500: '#795179',
    950: '#000000',
  },
}
SCSS
$custom: #795179;
$custom-light: #a0829f;
$custom-dark: #000000;
JSON
{
  "hex": "#795179",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 19.802,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.07895,
    "h": 326.7
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#795179
secondary
#84A284
accent
#BC6B6B
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #795179

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

Preview Lab → · Contrast checker → · Palette generator →

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