#786EEA#786EEA

#786EEA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.0% C 0.181 H 283.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#786EEA
RGBrgb(120, 110, 234)
HSLhsl(245, 75%, 67%)
HSVhsv(245, 53%, 92%)
CMYKcmyk(48.7%, 53%, 0%, 8.2%)
CIE-LABlab(53.04, 35.77, -61.74)
CIE-LCHlch(53.04, 71.35, 300.08°)
OKLaboklab(60.96% 0.0415 -0.1761)
OKLCHoklch(60.96% 0.181 283.3)
XYZxyz(28.1685, 21.0840, 80.4113)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EEA #E0EA6E
analogous
#6EA2EA #786EEA #B66EEA
triadic
#786EEA #EA786E #6EEA78
tetradic
#786EEA #EA6EA2 #E0EA6E #6EEAB6
square
#786EEA #EA6EA2 #E0EA6E #6EEAB6
split-complementary
#786EEA #EAB66E #A2EA6E
monochromatic
#291CC2 #4639E2 #786EEA #AAA3F2 #DCD9F9

Accessibility & contrast

On white

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

On black

5.22
#786EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EEA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EEA#FFFFFF#000000##000000
##786EEA1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EE
Deuteranopia (green-blind)
#227BE7
Tritanopia (blue-blind)
#4E89A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786eea;
/* rgb */ color: rgb(120, 110, 234);
/* oklch */ color: oklch(61.0% 0.181 283.3);
Tailwind
colors: {
  custom: {
    50: '#a698f1',
    500: '#786eea',
    950: '#000000',
  },
}
SCSS
$custom: #786eea;
$custom-light: #a698f1;
$custom-dark: #000000;
JSON
{
  "hex": "#786eea",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 244.839,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60963,
    "c": 0.18098,
    "h": 283.3
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#786EEA
secondary
#EAEDC7
accent
#D70FC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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