#795682#795682

#795682 is a mid, moderate purple. Relative luminance 0.123; OKLCH L 50.7% C 0.080 H 319.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#795682
RGBrgb(121, 86, 130)
HSLhsl(288, 20%, 42%)
HSVhsv(288, 34%, 51%)
CMYKcmyk(6.9%, 33.8%, 0%, 49%)
CIE-LABlab(41.74, 22.77, -19.03)
CIE-LCHlch(41.74, 29.67, 320.11°)
OKLaboklab(50.68% 0.0603 -0.0519)
OKLCHoklch(50.68% 0.08 319.3)
XYZxyz(15.2417, 12.3326, 22.6923)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795682 #5F8256
analogous
#635682 #795682 #825675
triadic
#795682 #827956 #568279
tetradic
#795682 #826356 #5F8256 #567582
square
#795682 #826356 #5F8256 #567582
split-complementary
#795682 #758256 #568263
monochromatic
#342538 #573E5D #795682 #9973A2 #B498BB

Accessibility & contrast

On white

6.06
#795682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#795682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795682
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795682#FFFFFF#000000##FFFFFF
##7956821.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516084
Deuteranopia (green-blind)
#596481
Tritanopia (blue-blind)
#7A5B66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795682;
/* rgb */ color: rgb(121, 86, 130);
/* oklch */ color: oklch(50.7% 0.080 319.3);
Tailwind
colors: {
  custom: {
    50: '#a086a6',
    500: '#795682',
    950: '#000000',
  },
}
SCSS
$custom: #795682;
$custom-light: #a086a6;
$custom-dark: #000000;
JSON
{
  "hex": "#795682",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 287.727,
    "s": 20.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.07962,
    "h": 319.3
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#795682
secondary
#91A88B
accent
#BD6B7C
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795682

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

Preview Lab → · Contrast checker → · Palette generator →

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