#786EAB#786EAB

#786EAB is a mid, moderate blue. Relative luminance 0.181; OKLCH L 57.2% C 0.093 H 290.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#786EAB
RGBrgb(120, 110, 171)
HSLhsl(250, 27%, 55%)
HSVhsv(250, 36%, 67%)
CMYKcmyk(29.8%, 35.7%, 0%, 32.9%)
CIE-LABlab(49.60, 17.93, -31.23)
CIE-LCHlch(49.60, 36.01, 299.86°)
OKLaboklab(57.25% 0.0328 -0.087)
OKLCHoklch(57.25% 0.093 290.7)
XYZxyz(20.6705, 18.0848, 40.9219)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EAB #A1AB6E
analogous
#6E82AB #786EAB #976EAB
triadic
#786EAB #AB786E #6EAB78
tetradic
#786EAB #AB6E82 #A1AB6E #6EAB97
square
#786EAB #AB6E82 #A1AB6E #6EAB97
split-complementary
#786EAB #AB976E #82AB6E
monochromatic
#413A64 #5A518B #786EAB #9C95C1 #C0BCD8

Accessibility & contrast

On white

4.55
#786EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#786EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EAB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EAB#FFFFFF#000000##000000
##786EAB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AD
Deuteranopia (green-blind)
#5D75A9
Tritanopia (blue-blind)
#6C7984
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786eab;
/* rgb */ color: rgb(120, 110, 171);
/* oklch */ color: oklch(57.2% 0.093 290.7);
Tailwind
colors: {
  custom: {
    50: '#a097c4',
    500: '#786eab',
    950: '#000000',
  },
}
SCSS
$custom: #786eab;
$custom-light: #a097c4;
$custom-dark: #000000;
JSON
{
  "hex": "#786eab",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 171
  },
  "hsl": {
    "h": 249.836,
    "s": 26.638,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57247,
    "c": 0.09299,
    "h": 290.7
  },
  "luminance": 0.18085
}

Semantic roles & 50–950 ramp

primary
#786EAB
secondary
#C3C7AE
accent
#C365B4
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #786EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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