#786281#786281

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

Color values

HEX#786281
RGBrgb(120, 98, 129)
HSLhsl(283, 14%, 45%)
HSVhsv(283, 24%, 51%)
CMYKcmyk(7%, 24%, 0%, 49.4%)
CIE-LABlab(44.68, 14.96, -13.94)
CIE-LCHlch(44.68, 20.45, 317.03°)
OKLaboklab(52.89% 0.0392 -0.0378)
OKLCHoklch(52.89% 0.054 316)
XYZxyz(16.0753, 14.3137, 22.6806)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786281 #6B8162
analogous
#696281 #786281 #81627B
triadic
#786281 #817862 #628178
tetradic
#786281 #816962 #6B8162 #627B81
square
#786281 #816962 #6B8162 #627B81
split-complementary
#786281 #7B8162 #628169
monochromatic
#372D3B #58485E #786281 #96819F #B3A4BA

Accessibility & contrast

On white

5.44
#786281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#786281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786281
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786281#FFFFFF#000000##FFFFFF
##7862811.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6882
Deuteranopia (green-blind)
#636A80
Tritanopia (blue-blind)
#78656D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #786281;
/* rgb */ color: rgb(120, 98, 129);
/* oklch */ color: oklch(52.9% 0.054 316.0);
Tailwind
colors: {
  custom: {
    50: '#9f8ea5',
    500: '#786281',
    950: '#000000',
  },
}
SCSS
$custom: #786281;
$custom-light: #9f8ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#786281",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 129
  },
  "hsl": {
    "h": 282.581,
    "s": 13.656,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.05439,
    "h": 316
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#786281
secondary
#9CA996
accent
#B67185
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #786281

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

Preview Lab → · Contrast checker → · Palette generator →

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