#795684#795684

#795684 is a mid, moderate purple. Relative luminance 0.124; OKLCH L 50.8% C 0.082 H 317.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#795684
RGBrgb(121, 86, 132)
HSLhsl(286, 21%, 43%)
HSVhsv(286, 35%, 52%)
CMYKcmyk(8.3%, 34.8%, 0%, 48.2%)
CIE-LABlab(41.82, 23.20, -20.11)
CIE-LCHlch(41.82, 30.71, 319.08°)
OKLaboklab(50.77% 0.0609 -0.055)
OKLCHoklch(50.77% 0.082 317.9)
XYZxyz(15.3772, 12.3868, 23.4062)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795684 #618456
analogous
#625684 #795684 #845678
triadic
#795684 #847956 #568479
tetradic
#795684 #846256 #618456 #567884
square
#795684 #846256 #618456 #567884
split-complementary
#795684 #788456 #568462
monochromatic
#35263A #573E5F #795684 #9873A4 #B498BC

Accessibility & contrast

On white

6.04
#795684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#795684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795684
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795684#FFFFFF#000000##FFFFFF
##7956841.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506086
Deuteranopia (green-blind)
#586483
Tritanopia (blue-blind)
#795B67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795684;
/* rgb */ color: rgb(121, 86, 132);
/* oklch */ color: oklch(50.8% 0.082 317.9);
Tailwind
colors: {
  custom: {
    50: '#a086a8',
    500: '#795684',
    950: '#000000',
  },
}
SCSS
$custom: #795684;
$custom-light: #a086a8;
$custom-dark: #000000;
JSON
{
  "hex": "#795684",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 285.652,
    "s": 21.101,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50773,
    "c": 0.08207,
    "h": 317.9
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#795684
secondary
#93AA8C
accent
#BE6A7E
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795684

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

Preview Lab → · Contrast checker → · Palette generator →

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