#786EE9#786EE9

#786EE9 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.9% C 0.180 H 283.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#786EE9
RGBrgb(120, 110, 233)
HSLhsl(245, 74%, 67%)
HSVhsv(245, 53%, 91%)
CMYKcmyk(48.5%, 52.8%, 0%, 8.6%)
CIE-LABlab(52.98, 35.47, -61.28)
CIE-LCHlch(52.98, 70.81, 300.06°)
OKLaboklab(60.9% 0.0415 -0.1748)
OKLCHoklch(60.9% 0.18 283.4)
XYZxyz(28.0252, 21.0267, 79.6569)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EE9 #DFE96E
analogous
#6EA2E9 #786EE9 #B66EE9
triadic
#786EE9 #E9786E #6EE978
tetradic
#786EE9 #E96EA2 #DFE96E #6EE9B6
square
#786EE9 #E96EA2 #DFE96E #6EE9B6
split-complementary
#786EE9 #E9B66E #A2E96E
monochromatic
#2A1DC0 #4739E1 #786EE9 #A9A3F1 #DBD8F9

Accessibility & contrast

On white

4.03
#786EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#786EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EE9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EE9#FFFFFF#000000##000000
##786EE91.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82ED
Deuteranopia (green-blind)
#247AE6
Tritanopia (blue-blind)
#4F89A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #786ee9;
/* rgb */ color: rgb(120, 110, 233);
/* oklch */ color: oklch(60.9% 0.180 283.4);
Tailwind
colors: {
  custom: {
    50: '#a698f1',
    500: '#786ee9',
    950: '#000000',
  },
}
SCSS
$custom: #786ee9;
$custom-light: #a698f1;
$custom-dark: #000000;
JSON
{
  "hex": "#786ee9",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 233
  },
  "hsl": {
    "h": 244.878,
    "s": 73.653,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.17966,
    "h": 283.4
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#786EE9
secondary
#EAEDC6
accent
#D610C6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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