#795686#795686

#795686 is a mid, moderate purple. Relative luminance 0.124; OKLCH L 50.9% C 0.085 H 316.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#795686
RGBrgb(121, 86, 134)
HSLhsl(284, 22%, 43%)
HSVhsv(284, 36%, 53%)
CMYKcmyk(9.7%, 35.8%, 0%, 47.5%)
CIE-LABlab(41.91, 23.65, -21.19)
CIE-LCHlch(41.91, 31.75, 318.14°)
OKLaboklab(50.87% 0.0614 -0.0581)
OKLCHoklch(50.87% 0.085 316.6)
XYZxyz(15.5154, 12.4421, 24.1339)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795686 #638656
analogous
#615686 #795686 #86567B
triadic
#795686 #867956 #568679
tetradic
#795686 #866156 #638656 #567B86
square
#795686 #866156 #638656 #567B86
split-complementary
#795686 #7B8656 #568661
monochromatic
#36263B #573E61 #795686 #9874A6 #B499BD

Accessibility & contrast

On white

6.02
#795686 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#795686 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795686
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795686#FFFFFF#000000##FFFFFF
##7956861.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6188
Deuteranopia (green-blind)
#576485
Tritanopia (blue-blind)
#795C68
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795686;
/* rgb */ color: rgb(121, 86, 134);
/* oklch */ color: oklch(50.9% 0.085 316.6);
Tailwind
colors: {
  custom: {
    50: '#a086a9',
    500: '#795686',
    950: '#000000',
  },
}
SCSS
$custom: #795686;
$custom-light: #a086a9;
$custom-dark: #000000;
JSON
{
  "hex": "#795686",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 283.75,
    "s": 21.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.08455,
    "h": 316.6
  },
  "luminance": 0.12442
}

Semantic roles & 50–950 ramp

primary
#795686
secondary
#95AB8D
accent
#BE6980
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B10
muted
#7E7C7F

Preview Lab

Preview with #795686

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

Preview Lab → · Contrast checker → · Palette generator →

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