#786DAE#786DAE

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

Color values

HEX#786DAE
RGBrgb(120, 109, 174)
HSLhsl(250, 29%, 55%)
HSVhsv(250, 37%, 68%)
CMYKcmyk(31%, 37.4%, 0%, 31.8%)
CIE-LABlab(49.48, 19.32, -33.16)
CIE-LCHlch(49.48, 38.38, 300.23°)
OKLaboklab(57.2% 0.035 -0.0926)
OKLCHoklch(57.2% 0.099 290.7)
XYZxyz(20.8524, 17.9859, 42.4092)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DAE #A3AE6D
analogous
#6D82AE #786DAE #986DAE
triadic
#786DAE #AE786D #6DAE78
tetradic
#786DAE #AE6D82 #A3AE6D #6DAE98
square
#786DAE #AE6D82 #A3AE6D #6DAE98
split-complementary
#786DAE #AE986D #82AE6D
monochromatic
#413967 #5A4F8F #786DAE #9C94C4 #C1BCDA

Accessibility & contrast

On white

4.57
#786DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#786DAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DAE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DAE#FFFFFF#000000##000000
##786DAE1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A77B1
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#6B7985
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786dae;
/* rgb */ color: rgb(120, 109, 174);
/* oklch */ color: oklch(57.2% 0.099 290.7);
Tailwind
colors: {
  custom: {
    50: '#a197c6',
    500: '#786dae',
    950: '#000000',
  },
}
SCSS
$custom: #786dae;
$custom-light: #a197c6;
$custom-dark: #000000;
JSON
{
  "hex": "#786dae",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 174
  },
  "hsl": {
    "h": 250.154,
    "s": 28.634,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.09897,
    "h": 290.7
  },
  "luminance": 0.17986
}

Semantic roles & 50–950 ramp

primary
#786DAE
secondary
#C4C9AE
accent
#C563B4
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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