#786FAE#786FAE

#786FAE is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.6% C 0.096 H 289.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#786FAE
RGBrgb(120, 111, 174)
HSLhsl(249, 28%, 56%)
HSVhsv(249, 36%, 68%)
CMYKcmyk(31%, 36.2%, 0%, 31.8%)
CIE-LABlab(50.00, 18.12, -32.35)
CIE-LCHlch(50.00, 37.08, 299.26°)
OKLaboklab(57.6% 0.0321 -0.0902)
OKLCHoklch(57.6% 0.096 289.6)
XYZxyz(21.0682, 18.4175, 42.4811)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FAE #A5AE6F
analogous
#6F85AE #786FAE #976FAE
triadic
#786FAE #AE786F #6FAE78
tetradic
#786FAE #AE6F85 #A5AE6F #6FAE97
square
#786FAE #AE6F85 #A5AE6F #6FAE97
split-complementary
#786FAE #AE976F #85AE6F
monochromatic
#413B68 #5A518F #786FAE #9D96C4 #C1BDDA

Accessibility & contrast

On white

4.48
#786FAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#786FAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FAE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FAE#FFFFFF#000000##000000
##786FAE1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D78B0
Deuteranopia (green-blind)
#5D76AC
Tritanopia (blue-blind)
#6B7A86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786fae;
/* rgb */ color: rgb(120, 111, 174);
/* oklch */ color: oklch(57.6% 0.096 289.6);
Tailwind
colors: {
  custom: {
    50: '#a098c6',
    500: '#786fae',
    950: '#000000',
  },
}
SCSS
$custom: #786fae;
$custom-light: #a098c6;
$custom-dark: #000000;
JSON
{
  "hex": "#786fae",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 174
  },
  "hsl": {
    "h": 248.571,
    "s": 28,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.09578,
    "h": 289.6
  },
  "luminance": 0.18418
}

Semantic roles & 50–950 ramp

primary
#786FAE
secondary
#C6C9AF
accent
#C463B6
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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