#786EAD#786EAD

#786EAD is a mid, moderate blue. Relative luminance 0.182; OKLCH L 57.3% C 0.096 H 290.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#786EAD
RGBrgb(120, 110, 173)
HSLhsl(250, 28%, 55%)
HSVhsv(250, 36%, 68%)
CMYKcmyk(30.6%, 36.4%, 0%, 32.2%)
CIE-LABlab(49.69, 18.46, -32.25)
CIE-LCHlch(49.69, 37.16, 299.78°)
OKLaboklab(57.35% 0.0333 -0.0899)
OKLCHoklch(57.35% 0.096 290.3)
XYZxyz(20.8626, 18.1616, 41.9334)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EAD #A3AD6E
analogous
#6E83AD #786EAD #976EAD
triadic
#786EAD #AD786E #6EAD78
tetradic
#786EAD #AD6E83 #A3AD6E #6EAD97
square
#786EAD #AD6E83 #A3AD6E #6EAD97
split-complementary
#786EAD #AD976E #83AD6E
monochromatic
#413A67 #5A508E #786EAD #9C95C3 #C1BCD9

Accessibility & contrast

On white

4.53
#786EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#786EAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EAD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EAD#FFFFFF#000000##000000
##786EAD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AF
Deuteranopia (green-blind)
#5C75AB
Tritanopia (blue-blind)
#6C7985
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786ead;
/* rgb */ color: rgb(120, 110, 173);
/* oklch */ color: oklch(57.3% 0.096 290.3);
Tailwind
colors: {
  custom: {
    50: '#a097c5',
    500: '#786ead',
    950: '#000000',
  },
}
SCSS
$custom: #786ead;
$custom-light: #a097c5;
$custom-dark: #000000;
JSON
{
  "hex": "#786ead",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 173
  },
  "hsl": {
    "h": 249.524,
    "s": 27.753,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57349,
    "c": 0.09591,
    "h": 290.3
  },
  "luminance": 0.18162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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