#786EAA#786EAA

#786EAA is a mid, moderate violet. Relative luminance 0.180; OKLCH L 57.2% C 0.092 H 290.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#786EAA
RGBrgb(120, 110, 170)
HSLhsl(250, 26%, 55%)
HSVhsv(250, 35%, 67%)
CMYKcmyk(29.4%, 35.3%, 0%, 33.3%)
CIE-LABlab(49.55, 17.67, -30.72)
CIE-LCHlch(49.55, 35.44, 299.90°)
OKLaboklab(57.2% 0.0326 -0.0855)
OKLCHoklch(57.2% 0.092 290.9)
XYZxyz(20.5755, 18.0468, 40.4218)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EAA #A0AA6E
analogous
#6E82AA #786EAA #966EAA
triadic
#786EAA #AA786E #6EAA78
tetradic
#786EAA #AA6E82 #A0AA6E #6EAA96
square
#786EAA #AA6E82 #A0AA6E #6EAA96
split-complementary
#786EAA #AA966E #82AA6E
monochromatic
#413A63 #5A518A #786EAA #9C95C1 #C0BBD7

Accessibility & contrast

On white

4.56
#786EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#786EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EAA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EAA#FFFFFF#000000##000000
##786EAA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AC
Deuteranopia (green-blind)
#5E75A8
Tritanopia (blue-blind)
#6D7984
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786eaa;
/* rgb */ color: rgb(120, 110, 170);
/* oklch */ color: oklch(57.2% 0.092 290.9);
Tailwind
colors: {
  custom: {
    50: '#a097c3',
    500: '#786eaa',
    950: '#000000',
  },
}
SCSS
$custom: #786eaa;
$custom-light: #a097c3;
$custom-dark: #000000;
JSON
{
  "hex": "#786eaa",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 170
  },
  "hsl": {
    "h": 250,
    "s": 26.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.09153,
    "h": 290.9
  },
  "luminance": 0.18047
}

Semantic roles & 50–950 ramp

primary
#786EAA
secondary
#C2C7AD
accent
#C265B3
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #786EAA

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

Preview Lab → · Contrast checker → · Palette generator →

#786EAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva