#786EE1#786EE1

#786EE1 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.169 H 284.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#786EE1
RGBrgb(120, 110, 225)
HSLhsl(245, 66%, 66%)
HSVhsv(245, 51%, 88%)
CMYKcmyk(46.7%, 51.1%, 0%, 11.8%)
CIE-LABlab(52.49, 33.11, -57.58)
CIE-LCHlch(52.49, 66.42, 299.90°)
OKLaboklab(60.37% 0.041 -0.1639)
OKLCHoklch(60.37% 0.169 284.1)
XYZxyz(26.9082, 20.5799, 73.7741)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EE1 #D7E16E
analogous
#6E9EE1 #786EE1 #B16EE1
triadic
#786EE1 #E1786E #6EE178
tetradic
#786EE1 #E16E9E #D7E16E #6EE1B1
square
#786EE1 #E16E9E #D7E16E #6EE1B1
split-complementary
#786EE1 #E1B16E #9EE16E
monochromatic
#3124B0 #493BD7 #786EE1 #A7A1EB #D6D3F6

Accessibility & contrast

On white

4.10
#786EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#786EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EE1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EE1#FFFFFF#000000##000000
##786EE11.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E5
Deuteranopia (green-blind)
#327ADE
Tritanopia (blue-blind)
#54879D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #786ee1;
/* rgb */ color: rgb(120, 110, 225);
/* oklch */ color: oklch(60.4% 0.169 284.1);
Tailwind
colors: {
  custom: {
    50: '#a597eb',
    500: '#786ee1',
    950: '#000000',
  },
}
SCSS
$custom: #786ee1;
$custom-light: #a597eb;
$custom-dark: #000000;
JSON
{
  "hex": "#786ee1",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 225
  },
  "hsl": {
    "h": 245.217,
    "s": 65.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60371,
    "c": 0.16898,
    "h": 284.1
  },
  "luminance": 0.20581
}

Semantic roles & 50–950 ramp

primary
#786EE1
secondary
#E5E9C2
accent
#CE18BE
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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