#786880#786880

#786880 is a mid, muted purple. Relative luminance 0.155; OKLCH L 54.1% C 0.041 H 314.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#786880
RGBrgb(120, 104, 128)
HSLhsl(280, 10%, 45%)
HSVhsv(280, 19%, 50%)
CMYKcmyk(6.3%, 18.8%, 0%, 49.8%)
CIE-LABlab(46.25, 11.13, -10.96)
CIE-LCHlch(46.25, 15.62, 315.43°)
OKLaboklab(54.09% 0.029 -0.0296)
OKLCHoklch(54.09% 0.041 314.5)
XYZxyz(16.5917, 15.4524, 22.5264)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786880 #708068
analogous
#6C6880 #786880 #80687C
triadic
#786880 #807868 #688078
tetradic
#786880 #806C68 #708068 #687C80
square
#786880 #806C68 #708068 #687C80
split-complementary
#786880 #7C8068 #68806C
monochromatic
#39313C #584D5E #786880 #96879E #B4A9B9

Accessibility & contrast

On white

5.13
#786880 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#786880 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786880
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786880#FFFFFF#000000##FFFFFF
##7868801.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656D81
Deuteranopia (green-blind)
#686E7F
Tritanopia (blue-blind)
#786B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786880;
/* rgb */ color: rgb(120, 104, 128);
/* oklch */ color: oklch(54.1% 0.041 314.5);
Tailwind
colors: {
  custom: {
    50: '#9f93a4',
    500: '#786880',
    950: '#000000',
  },
}
SCSS
$custom: #786880;
$custom-light: #9f93a4;
$custom-dark: #000000;
JSON
{
  "hex": "#786880",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 128
  },
  "hsl": {
    "h": 280,
    "s": 10.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.04142,
    "h": 314.5
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#786880
secondary
#A0A99B
accent
#B37589
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786880

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

Preview Lab → · Contrast checker → · Palette generator →

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