#796183#796183

#796183 is a mid, muted purple. Relative luminance 0.143; OKLCH L 52.9% C 0.059 H 315.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#796183
RGBrgb(121, 97, 131)
HSLhsl(282, 15%, 45%)
HSVhsv(282, 26%, 51%)
CMYKcmyk(7.6%, 26%, 0%, 48.6%)
CIE-LABlab(44.59, 16.36, -15.26)
CIE-LCHlch(44.59, 22.37, 316.99°)
OKLaboklab(52.87% 0.0427 -0.0414)
OKLCHoklch(52.87% 0.06 315.9)
XYZxyz(16.2560, 14.2533, 23.3631)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796183 #6B8361
analogous
#686183 #796183 #83617C
triadic
#796183 #837961 #618379
tetradic
#796183 #836861 #6B8361 #617C83
square
#796183 #836861 #6B8361 #617C83
split-complementary
#796183 #7C8361 #618368
monochromatic
#382D3D #594760 #796183 #9780A1 #B4A3BB

Accessibility & contrast

On white

5.45
#796183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#796183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796183
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796183#FFFFFF#000000##FFFFFF
##7961831.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6884
Deuteranopia (green-blind)
#626A82
Tritanopia (blue-blind)
#79656D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796183;
/* rgb */ color: rgb(121, 97, 131);
/* oklch */ color: oklch(52.9% 0.059 315.9);
Tailwind
colors: {
  custom: {
    50: '#a08ea7',
    500: '#796183',
    950: '#000000',
  },
}
SCSS
$custom: #796183;
$custom-light: #a08ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#796183",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 131
  },
  "hsl": {
    "h": 282.353,
    "s": 14.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.0595,
    "h": 315.9
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#796183
secondary
#9CAA96
accent
#B87085
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #796183

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

Preview Lab → · Contrast checker → · Palette generator →

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