#795578#795578

#795578 is a mid, moderate purple. Relative luminance 0.119; OKLCH L 50.0% C 0.070 H 327.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#795578
RGBrgb(121, 85, 120)
HSLhsl(302, 17%, 40%)
HSVhsv(302, 30%, 47%)
CMYKcmyk(0%, 29.8%, 0.8%, 52.5%)
CIE-LABlab(41.09, 21.25, -13.92)
CIE-LCHlch(41.09, 25.40, 326.76°)
OKLaboklab(50.05% 0.059 -0.0376)
OKLCHoklch(50.05% 0.07 327.5)
XYZxyz(14.5235, 11.9185, 19.3011)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795578 #557956
analogous
#685579 #795578 #795566
triadic
#795578 #787955 #557879
tetradic
#795578 #796855 #557956 #556679
square
#795578 #796855 #557956 #556679
split-complementary
#795578 #667955 #557968
monochromatic
#312231 #553C54 #795578 #9B709A #B494B3

Accessibility & contrast

On white

6.21
#795578 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#795578 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795578
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795578#FFFFFF#000000##FFFFFF
##7955781.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E79
Deuteranopia (green-blind)
#5B6377
Tritanopia (blue-blind)
#7B5861
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795578;
/* rgb */ color: rgb(121, 85, 120);
/* oklch */ color: oklch(50.0% 0.070 327.5);
Tailwind
colors: {
  custom: {
    50: '#a0859f',
    500: '#795578',
    950: '#000000',
  },
}
SCSS
$custom: #795578;
$custom-light: #a0859f;
$custom-dark: #000000;
JSON
{
  "hex": "#795578",
  "rgb": {
    "r": 121,
    "g": 85,
    "b": 120
  },
  "hsl": {
    "h": 301.667,
    "s": 17.476,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.06995,
    "h": 327.5
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#795578
secondary
#88A289
accent
#BA706E
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0B0E
muted
#7E7C7E

Preview Lab

Preview with #795578

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

Preview Lab → · Contrast checker → · Palette generator →

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