#795173#795173

#795173 is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.1% C 0.073 H 332.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#795173
RGBrgb(121, 81, 115)
HSLhsl(309, 20%, 40%)
HSVhsv(309, 33%, 47%)
CMYKcmyk(0%, 33.1%, 5%, 52.5%)
CIE-LABlab(39.90, 22.64, -12.66)
CIE-LCHlch(39.90, 25.94, 330.78°)
OKLaboklab(49.08% 0.0641 -0.034)
OKLCHoklch(49.08% 0.073 332)
XYZxyz(13.9219, 11.1882, 17.6425)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795173 #517957
analogous
#6B5179 #795173 #79515F
triadic
#795173 #737951 #517379
tetradic
#795173 #796B51 #517957 #515F79
square
#795173 #796B51 #517957 #515F79
split-complementary
#795173 #5F7951 #51796B
monochromatic
#30202D #543850 #795173 #9C6B95 #B590AF

Accessibility & contrast

On white

6.49
#795173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#795173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795173
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795173#FFFFFF#000000##FFFFFF
##7951731.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B74
Deuteranopia (green-blind)
#5A6072
Tritanopia (blue-blind)
#7C535D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #795173;
/* rgb */ color: rgb(121, 81, 115);
/* oklch */ color: oklch(49.1% 0.073 332.0);
Tailwind
colors: {
  custom: {
    50: '#a0829b',
    500: '#795173',
    950: '#000000',
  },
}
SCSS
$custom: #795173;
$custom-light: #a0829b;
$custom-dark: #000000;
JSON
{
  "hex": "#795173",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 309,
    "s": 19.802,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.0726,
    "h": 332
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#795173
secondary
#84A288
accent
#BC786B
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #795173

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

Preview Lab → · Contrast checker → · Palette generator →

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