#786ADE#786ADE

#786ADE is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.5% C 0.171 H 285.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#786ADE
RGBrgb(120, 106, 222)
HSLhsl(247, 64%, 64%)
HSVhsv(247, 52%, 87%)
CMYKcmyk(45.9%, 52.3%, 0%, 12.9%)
CIE-LABlab(51.35, 34.60, -57.71)
CIE-LCHlch(51.35, 67.29, 300.94°)
OKLaboklab(59.46% 0.0455 -0.1643)
OKLCHoklch(59.46% 0.171 285.5)
XYZxyz(26.0807, 19.5739, 71.4970)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ADE #D0DE6A
analogous
#6A96DE #786ADE #B26ADE
triadic
#786ADE #DE786A #6ADE78
tetradic
#786ADE #DE6A96 #D0DE6A #6ADEB2
square
#786ADE #DE6A96 #D0DE6A #6ADEB2
split-complementary
#786ADE #DEB26A #96DE6A
monochromatic
#3525A8 #4B38D3 #786ADE #A59CE9 #D3CEF4

Accessibility & contrast

On white

4.27
#786ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#786ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ADE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ADE#FFFFFF#000000##000000
##786ADE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE2
Deuteranopia (green-blind)
#2D77DB
Tritanopia (blue-blind)
#56839A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #786ade;
/* rgb */ color: rgb(120, 106, 222);
/* oklch */ color: oklch(59.5% 0.171 285.5);
Tailwind
colors: {
  custom: {
    50: '#a595e9',
    500: '#786ade',
    950: '#000000',
  },
}
SCSS
$custom: #786ade;
$custom-light: #a595e9;
$custom-dark: #000000;
JSON
{
  "hex": "#786ade",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 222
  },
  "hsl": {
    "h": 247.241,
    "s": 63.736,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.1705,
    "h": 285.5
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#786ADE
secondary
#E1E6BE
accent
#CC1AB6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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