#786EE0#786EE0

#786EE0 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.3% C 0.168 H 284.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#786EE0
RGBrgb(120, 110, 224)
HSLhsl(245, 65%, 65%)
HSVhsv(245, 51%, 88%)
CMYKcmyk(46.4%, 50.9%, 0%, 12.2%)
CIE-LABlab(52.43, 32.82, -57.12)
CIE-LCHlch(52.43, 65.87, 299.88°)
OKLaboklab(60.31% 0.041 -0.1625)
OKLCHoklch(60.31% 0.168 284.1)
XYZxyz(26.7722, 20.5255, 73.0577)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EE0 #D6E06E
analogous
#6E9DE0 #786EE0 #B16EE0
triadic
#786EE0 #E0786E #6EE078
tetradic
#786EE0 #E06E9D #D6E06E #6EE0B1
square
#786EE0 #E06E9D #D6E06E #6EE0B1
split-complementary
#786EE0 #E0B16E #9DE06E
monochromatic
#3125AE #493CD5 #786EE0 #A7A0EB #D6D3F6

Accessibility & contrast

On white

4.11
#786EE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#786EE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EE0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EE0#FFFFFF#000000##000000
##786EE01.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3881E4
Deuteranopia (green-blind)
#3379DD
Tritanopia (blue-blind)
#55879D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #786ee0;
/* rgb */ color: rgb(120, 110, 224);
/* oklch */ color: oklch(60.3% 0.168 284.1);
Tailwind
colors: {
  custom: {
    50: '#a597ea',
    500: '#786ee0',
    950: '#000000',
  },
}
SCSS
$custom: #786ee0;
$custom-light: #a597ea;
$custom-dark: #000000;
JSON
{
  "hex": "#786ee0",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 224
  },
  "hsl": {
    "h": 245.263,
    "s": 64.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.16763,
    "h": 284.1
  },
  "luminance": 0.20527
}

Semantic roles & 50–950 ramp

primary
#786EE0
secondary
#E5E8C2
accent
#CD19BD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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