#785779#785779

#785779 is a mid, moderate purple. Relative luminance 0.122; OKLCH L 50.4% C 0.066 H 325.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#785779
RGBrgb(120, 87, 121)
HSLhsl(298, 16%, 41%)
HSVhsv(298, 28%, 47%)
CMYKcmyk(0.8%, 28.1%, 0%, 52.5%)
CIE-LABlab(41.52, 19.89, -13.89)
CIE-LCHlch(41.52, 24.26, 325.07°)
OKLaboklab(50.37% 0.0547 -0.0375)
OKLCHoklch(50.37% 0.066 325.5)
XYZxyz(14.6048, 12.1904, 19.6691)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785779 #587957
analogous
#675779 #785779 #795769
triadic
#785779 #797857 #577978
tetradic
#785779 #796757 #587957 #576979
square
#785779 #796757 #587957 #576979
split-complementary
#785779 #697957 #577967
monochromatic
#312432 #553D55 #785779 #99739A #B397B4

Accessibility & contrast

On white

6.11
#785779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#785779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785779
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785779#FFFFFF#000000##FFFFFF
##7857791.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F7A
Deuteranopia (green-blind)
#5C6378
Tritanopia (blue-blind)
#7A5A63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #785779;
/* rgb */ color: rgb(120, 87, 121);
/* oklch */ color: oklch(50.4% 0.066 325.5);
Tailwind
colors: {
  custom: {
    50: '#9f869f',
    500: '#785779',
    950: '#000000',
  },
}
SCSS
$custom: #785779;
$custom-light: #9f869f;
$custom-dark: #000000;
JSON
{
  "hex": "#785779",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 298.235,
    "s": 16.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.06634,
    "h": 325.5
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

primary
#785779
secondary
#8BA28A
accent
#B96F71
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0B0E
muted
#7E7C7E

Preview Lab

Preview with #785779

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

Preview Lab → · Contrast checker → · Palette generator →

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