#795678#795678

#795678 is a mid, moderate purple. Relative luminance 0.121; OKLCH L 50.2% C 0.068 H 327.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#795678
RGBrgb(121, 86, 120)
HSLhsl(302, 17%, 41%)
HSVhsv(302, 29%, 47%)
CMYKcmyk(0%, 28.9%, 0.8%, 52.5%)
CIE-LABlab(41.34, 20.65, -13.54)
CIE-LCHlch(41.34, 24.69, 326.74°)
OKLaboklab(50.24% 0.0573 -0.0365)
OKLCHoklch(50.24% 0.068 327.5)
XYZxyz(14.6028, 12.0771, 19.3275)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795678 #567957
analogous
#685679 #795678 #795666
triadic
#795678 #787956 #567879
tetradic
#795678 #796856 #567957 #566679
square
#795678 #796856 #567957 #566679
split-complementary
#795678 #667956 #567968
monochromatic
#312331 #553D55 #795678 #9B7299 #B495B3

Accessibility & contrast

On white

6.15
#795678 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#795678 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795678
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795678#FFFFFF#000000##FFFFFF
##7956781.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F79
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#7B5962
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795678;
/* rgb */ color: rgb(121, 86, 120);
/* oklch */ color: oklch(50.2% 0.068 327.5);
Tailwind
colors: {
  custom: {
    50: '#a0869f',
    500: '#795678',
    950: '#000000',
  },
}
SCSS
$custom: #795678;
$custom-light: #a0869f;
$custom-dark: #000000;
JSON
{
  "hex": "#795678",
  "rgb": {
    "r": 121,
    "g": 86,
    "b": 120
  },
  "hsl": {
    "h": 301.714,
    "s": 16.908,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.06797,
    "h": 327.5
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#795678
secondary
#89A28A
accent
#BA706E
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0B0E
muted
#7E7C7E

Preview Lab

Preview with #795678

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

Preview Lab → · Contrast checker → · Palette generator →

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