#786296#786296

#786296 is a mid, moderate violet. Relative luminance 0.149; OKLCH L 53.8% C 0.083 H 303.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#786296
RGBrgb(120, 98, 150)
HSLhsl(265, 21%, 49%)
HSVhsv(265, 35%, 59%)
CMYKcmyk(20%, 34.7%, 0%, 41.2%)
CIE-LABlab(45.54, 19.83, -25.19)
CIE-LCHlch(45.54, 32.06, 308.21°)
OKLaboklab(53.83% 0.0455 -0.0696)
OKLCHoklch(53.83% 0.083 303.1)
XYZxyz(17.6173, 14.9305, 30.8020)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786296 #809662
analogous
#626696 #786296 #926296
triadic
#786296 #967862 #629678
tetradic
#786296 #966266 #809662 #629692
square
#786296 #966266 #809662 #629692
split-complementary
#786296 #969262 #669662
monochromatic
#3D324C #5A4A71 #786296 #9786B0 #B7ABC8

Accessibility & contrast

On white

5.27
#786296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#786296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786296
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786296#FFFFFF#000000##FFFFFF
##7862961.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576B98
Deuteranopia (green-blind)
#5B6C95
Tritanopia (blue-blind)
#736A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #786296;
/* rgb */ color: rgb(120, 98, 150);
/* oklch */ color: oklch(53.8% 0.083 303.1);
Tailwind
colors: {
  custom: {
    50: '#a08fb5',
    500: '#786296',
    950: '#000000',
  },
}
SCSS
$custom: #786296;
$custom-light: #a08fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#786296",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 150
  },
  "hsl": {
    "h": 265.385,
    "s": 20.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53832,
    "c": 0.08312,
    "h": 303.1
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#786296
secondary
#ACB69D
accent
#BE6A9A
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #786296

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

Preview Lab → · Contrast checker → · Palette generator →

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