#796280#796280

#796280 is a mid, muted purple. Relative luminance 0.144; OKLCH L 53.0% C 0.054 H 318.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#796280
RGBrgb(121, 98, 128)
HSLhsl(286, 13%, 44%)
HSVhsv(286, 23%, 50%)
CMYKcmyk(5.5%, 23.4%, 0%, 49.8%)
CIE-LABlab(44.74, 15.10, -13.23)
CIE-LCHlch(44.74, 20.08, 318.79°)
OKLaboklab(52.95% 0.0401 -0.0358)
OKLCHoklch(52.95% 0.054 318.2)
XYZxyz(16.1486, 14.3591, 22.3388)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796280 #698062
analogous
#6A6280 #796280 #806278
triadic
#796280 #807962 #628079
tetradic
#796280 #806A62 #698062 #627880
square
#796280 #806A62 #698062 #627880
split-complementary
#796280 #788062 #62806A
monochromatic
#372D3B #58475D #796280 #97819E #B4A3B9

Accessibility & contrast

On white

5.42
#796280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#796280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796280
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796280#FFFFFF#000000##FFFFFF
##7962801.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6881
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#79656C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796280;
/* rgb */ color: rgb(121, 98, 128);
/* oklch */ color: oklch(53.0% 0.054 318.2);
Tailwind
colors: {
  custom: {
    50: '#a08ea5',
    500: '#796280',
    950: '#000000',
  },
}
SCSS
$custom: #796280;
$custom-light: #a08ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#796280",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 128
  },
  "hsl": {
    "h": 286,
    "s": 13.274,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52951,
    "c": 0.0537,
    "h": 318.2
  },
  "luminance": 0.14359
}

Semantic roles & 50–950 ramp

primary
#796280
secondary
#9AA896
accent
#B67282
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #796280

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

Preview Lab → · Contrast checker → · Palette generator →

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