#786181#786181

#786181 is a mid, muted purple. Relative luminance 0.141; OKLCH L 52.7% C 0.056 H 316.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#786181
RGBrgb(120, 97, 129)
HSLhsl(283, 14%, 44%)
HSVhsv(283, 25%, 51%)
CMYKcmyk(7%, 24.8%, 0%, 49.4%)
CIE-LABlab(44.42, 15.56, -14.34)
CIE-LCHlch(44.42, 21.16, 317.35°)
OKLaboklab(52.69% 0.0408 -0.0389)
OKLCHoklch(52.69% 0.056 316.4)
XYZxyz(15.9823, 14.1277, 22.6496)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786181 #6A8161
analogous
#686181 #786181 #81617A
triadic
#786181 #817861 #618178
tetradic
#786181 #816861 #6A8161 #617A81
square
#786181 #816861 #6A8161 #617A81
split-complementary
#786181 #7A8161 #618168
monochromatic
#372C3B #58475E #786181 #97809F #B3A3BA

Accessibility & contrast

On white

5.49
#786181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#786181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786181
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786181#FFFFFF#000000##FFFFFF
##7861811.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6882
Deuteranopia (green-blind)
#626A80
Tritanopia (blue-blind)
#78656C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #786181;
/* rgb */ color: rgb(120, 97, 129);
/* oklch */ color: oklch(52.7% 0.056 316.4);
Tailwind
colors: {
  custom: {
    50: '#9f8ea5',
    500: '#786181',
    950: '#000000',
  },
}
SCSS
$custom: #786181;
$custom-light: #9f8ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#786181",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 129
  },
  "hsl": {
    "h": 283.125,
    "s": 14.159,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.05634,
    "h": 316.4
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#786181
secondary
#9BA895
accent
#B77185
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #786181

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

Preview Lab → · Contrast checker → · Palette generator →

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