#786282#786282

#786282 is a mid, muted purple. Relative luminance 0.143; OKLCH L 52.9% C 0.056 H 315.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#786282
RGBrgb(120, 98, 130)
HSLhsl(281, 14%, 45%)
HSVhsv(281, 25%, 51%)
CMYKcmyk(7.7%, 24.6%, 0%, 49%)
CIE-LABlab(44.72, 15.18, -14.48)
CIE-LCHlch(44.72, 20.98, 316.35°)
OKLaboklab(52.93% 0.0395 -0.0393)
OKLCHoklch(52.93% 0.056 315.2)
XYZxyz(16.1420, 14.3404, 23.0324)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786282 #6C8262
analogous
#686282 #786282 #82627C
triadic
#786282 #827862 #628278
tetradic
#786282 #826862 #6C8262 #627C82
square
#786282 #826862 #6C8262 #627C82
split-complementary
#786282 #7C8262 #628268
monochromatic
#382D3C #58485F #786282 #9681A0 #B3A4BA

Accessibility & contrast

On white

5.43
#786282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#786282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786282
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786282#FFFFFF#000000##FFFFFF
##7862821.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6883
Deuteranopia (green-blind)
#626A81
Tritanopia (blue-blind)
#78666D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #786282;
/* rgb */ color: rgb(120, 98, 130);
/* oklch */ color: oklch(52.9% 0.056 315.2);
Tailwind
colors: {
  custom: {
    50: '#9f8ea6',
    500: '#786282',
    950: '#000000',
  },
}
SCSS
$custom: #786282;
$custom-light: #9f8ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#786282",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 130
  },
  "hsl": {
    "h": 281.25,
    "s": 14.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52932,
    "c": 0.0557,
    "h": 315.2
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#786282
secondary
#9CA997
accent
#B77187
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #786282

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

Preview Lab → · Contrast checker → · Palette generator →

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