#785E8A#785E8A

#785E8A is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.5% C 0.074 H 310.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#785E8A
RGBrgb(120, 94, 138)
HSLhsl(275, 19%, 45%)
HSVhsv(275, 32%, 54%)
CMYKcmyk(13%, 31.9%, 0%, 45.9%)
CIE-LABlab(43.99, 19.40, -20.40)
CIE-LCHlch(43.99, 28.15, 313.55°)
OKLaboklab(52.48% 0.0484 -0.0559)
OKLCHoklch(52.48% 0.074 310.9)
XYZxyz(16.3351, 13.8337, 25.8495)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785E8A #708A5E
analogous
#625E8A #785E8A #8A5E86
triadic
#785E8A #8A785E #5E8A78
tetradic
#785E8A #8A625E #708A5E #5E868A
square
#785E8A #8A625E #708A5E #5E868A
split-complementary
#785E8A #868A5E #5E8A62
monochromatic
#392C41 #584566 #785E8A #967EA7 #B4A2C0

Accessibility & contrast

On white

5.58
#785E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#785E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785E8A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785E8A#FFFFFF#000000##FFFFFF
##785E8A1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678C
Deuteranopia (green-blind)
#5C6989
Tritanopia (blue-blind)
#76646E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #785e8a;
/* rgb */ color: rgb(120, 94, 138);
/* oklch */ color: oklch(52.5% 0.074 310.9);
Tailwind
colors: {
  custom: {
    50: '#9f8cac',
    500: '#785e8a',
    950: '#000000',
  },
}
SCSS
$custom: #785e8a;
$custom-light: #9f8cac;
$custom-dark: #000000;
JSON
{
  "hex": "#785e8a",
  "rgb": {
    "r": 120,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 275.455,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52483,
    "c": 0.07399,
    "h": 310.9
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#785E8A
secondary
#A0AE96
accent
#BC6C8D
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #785E8A

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

Preview Lab → · Contrast checker → · Palette generator →

#785E8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva