#786680#786680

#786680 is a mid, muted purple. Relative luminance 0.151; OKLCH L 53.7% C 0.045 H 315.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#786680
RGBrgb(120, 102, 128)
HSLhsl(282, 11%, 45%)
HSVhsv(282, 20%, 50%)
CMYKcmyk(6.3%, 20.3%, 0%, 49.8%)
CIE-LABlab(45.71, 12.33, -11.78)
CIE-LCHlch(45.71, 17.05, 316.32°)
OKLaboklab(53.67% 0.0323 -0.0318)
OKLCHoklch(53.67% 0.045 315.4)
XYZxyz(16.3928, 15.0545, 22.4601)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786680 #6E8066
analogous
#6B6680 #786680 #80667B
triadic
#786680 #807866 #668078
tetradic
#786680 #806B66 #6E8066 #667B80
square
#786680 #806B66 #6E8066 #667B80
split-complementary
#786680 #7B8066 #66806B
monochromatic
#38303C #584B5E #786680 #96859E #B4A7B9

Accessibility & contrast

On white

5.24
#786680 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#786680 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786680
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786680#FFFFFF#000000##FFFFFF
##7866801.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B81
Deuteranopia (green-blind)
#666D7F
Tritanopia (blue-blind)
#78696F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #786680;
/* rgb */ color: rgb(120, 102, 128);
/* oklch */ color: oklch(53.7% 0.045 315.4);
Tailwind
colors: {
  custom: {
    50: '#9f91a4',
    500: '#786680',
    950: '#000000',
  },
}
SCSS
$custom: #786680;
$custom-light: #9f91a4;
$custom-dark: #000000;
JSON
{
  "hex": "#786680",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 128
  },
  "hsl": {
    "h": 281.538,
    "s": 11.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53672,
    "c": 0.04529,
    "h": 315.4
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#786680
secondary
#9EA899
accent
#B47487
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #786680

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

Preview Lab → · Contrast checker → · Palette generator →

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