#795683#795683

#795683 is a mid, moderate purple. Relative luminance 0.124; OKLCH L 50.7% C 0.081 H 318.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#795683
RGBrgb(121, 86, 131)
HSLhsl(287, 21%, 43%)
HSVhsv(287, 34%, 51%)
CMYKcmyk(7.6%, 34.4%, 0%, 48.6%)
CIE-LABlab(41.78, 22.98, -19.57)
CIE-LCHlch(41.78, 30.19, 319.59°)
OKLaboklab(50.73% 0.0606 -0.0535)
OKLCHoklch(50.73% 0.081 318.6)
XYZxyz(15.3091, 12.3596, 23.0475)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795683 #608356
analogous
#635683 #795683 #835676
triadic
#795683 #837956 #568379
tetradic
#795683 #836356 #608356 #567683
square
#795683 #836356 #608356 #567683
split-complementary
#795683 #768356 #568363
monochromatic
#352539 #573E5E #795683 #9873A3 #B498BB

Accessibility & contrast

On white

6.05
#795683 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795683
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795683#FFFFFF#000000##FFFFFF
##7956831.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506085
Deuteranopia (green-blind)
#586482
Tritanopia (blue-blind)
#795B66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795683;
/* rgb */ color: rgb(121, 86, 131);
/* oklch */ color: oklch(50.7% 0.081 318.6);
Tailwind
colors: {
  custom: {
    50: '#a086a7',
    500: '#795683',
    950: '#000000',
  },
}
SCSS
$custom: #795683;
$custom-light: #a086a7;
$custom-dark: #000000;
JSON
{
  "hex": "#795683",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 131
  },
  "hsl": {
    "h": 286.667,
    "s": 20.737,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.08084,
    "h": 318.6
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#795683
secondary
#92A98C
accent
#BD6A7D
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795683

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

Preview Lab → · Contrast checker → · Palette generator →

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