#796282#796282

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

Color values

HEX#796282
RGBrgb(121, 98, 130)
HSLhsl(283, 14%, 45%)
HSVhsv(283, 25%, 51%)
CMYKcmyk(6.9%, 24.6%, 0%, 49%)
CIE-LABlab(44.82, 15.54, -14.32)
CIE-LCHlch(44.82, 21.13, 317.34°)
OKLaboklab(53.03% 0.0407 -0.0388)
OKLCHoklch(53.03% 0.056 316.4)
XYZxyz(16.2815, 14.4123, 23.0389)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796282 #6B8262
analogous
#696282 #796282 #82627B
triadic
#796282 #827962 #628279
tetradic
#796282 #826962 #6B8262 #627B82
square
#796282 #826962 #6B8262 #627B82
split-complementary
#796282 #7B8262 #628269
monochromatic
#382D3C #59485F #796282 #9781A0 #B4A4BA

Accessibility & contrast

On white

5.41
#796282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#796282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796282
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796282#FFFFFF#000000##FFFFFF
##7962821.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6983
Deuteranopia (green-blind)
#636B81
Tritanopia (blue-blind)
#79666D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #796282;
/* rgb */ color: rgb(121, 98, 130);
/* oklch */ color: oklch(53.0% 0.056 316.4);
Tailwind
colors: {
  custom: {
    50: '#a08ea6',
    500: '#796282',
    950: '#000000',
  },
}
SCSS
$custom: #796282;
$custom-light: #a08ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#796282",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 130
  },
  "hsl": {
    "h": 283.125,
    "s": 14.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.05625,
    "h": 316.4
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#796282
secondary
#9CA997
accent
#B77185
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #796282

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

Preview Lab → · Contrast checker → · Palette generator →

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