#786276#786276

#786276 is a mid, muted purple. Relative luminance 0.140; OKLCH L 52.5% C 0.041 H 329.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#786276
RGBrgb(120, 98, 118)
HSLhsl(305, 10%, 43%)
HSVhsv(305, 18%, 47%)
CMYKcmyk(0%, 18.3%, 1.7%, 52.9%)
CIE-LABlab(44.29, 12.63, -7.89)
CIE-LCHlch(44.29, 14.89, 328.01°)
OKLaboklab(52.46% 0.0352 -0.0211)
OKLCHoklch(52.46% 0.041 329.1)
XYZxyz(15.3831, 14.0368, 19.0350)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786276 #627864
analogous
#6F6278 #786276 #78626B
triadic
#786276 #767862 #627678
tetradic
#786276 #786F62 #627864 #626B78
square
#786276 #786F62 #627864 #626B78
split-complementary
#786276 #6B7862 #62786F
monochromatic
#352B34 #564655 #786276 #978095 #B3A2B1

Accessibility & contrast

On white

5.52
#786276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#786276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786276
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786276#FFFFFF#000000##FFFFFF
##7862761.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616777
Deuteranopia (green-blind)
#666A75
Tritanopia (blue-blind)
#7A6369
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #786276;
/* rgb */ color: rgb(120, 98, 118);
/* oklch */ color: oklch(52.5% 0.041 329.1);
Tailwind
colors: {
  custom: {
    50: '#9f8e9d',
    500: '#786276',
    950: '#000000',
  },
}
SCSS
$custom: #786276;
$custom-light: #9f8e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#786276",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 118
  },
  "hsl": {
    "h": 305.455,
    "s": 10.092,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.04102,
    "h": 329.1
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#786276
secondary
#94A295
accent
#B37A75
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #786276

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

Preview Lab → · Contrast checker → · Palette generator →

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