#786AE0#786AE0

#786AE0 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.6% C 0.173 H 285.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#786AE0
RGBrgb(120, 106, 224)
HSLhsl(247, 66%, 65%)
HSVhsv(247, 53%, 88%)
CMYKcmyk(46.4%, 52.7%, 0%, 12.2%)
CIE-LABlab(51.48, 35.18, -58.64)
CIE-LCHlch(51.48, 68.39, 300.96°)
OKLaboklab(59.6% 0.0456 -0.167)
OKLCHoklch(59.6% 0.173 285.3)
XYZxyz(26.3504, 19.6818, 72.9171)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786AE0 #D2E06A
analogous
#6A97E0 #786AE0 #B36AE0
triadic
#786AE0 #E0786A #6AE078
tetradic
#786AE0 #E06A97 #D2E06A #6AE0B3
square
#786AE0 #E06A97 #D2E06A #6AE0B3
split-complementary
#786AE0 #E0B36A #97E06A
monochromatic
#3424AC #4A37D5 #786AE0 #A69DEB #D4CFF5

Accessibility & contrast

On white

4.25
#786AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#786AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786AE0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786AE0#FFFFFF#000000##000000
##786AE01.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7EE4
Deuteranopia (green-blind)
#2A77DD
Tritanopia (blue-blind)
#55849B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #786ae0;
/* rgb */ color: rgb(120, 106, 224);
/* oklch */ color: oklch(59.6% 0.173 285.3);
Tailwind
colors: {
  custom: {
    50: '#a595ea',
    500: '#786ae0',
    950: '#000000',
  },
}
SCSS
$custom: #786ae0;
$custom-light: #a595ea;
$custom-dark: #000000;
JSON
{
  "hex": "#786ae0",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 224
  },
  "hsl": {
    "h": 247.119,
    "s": 65.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.17316,
    "h": 285.3
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#786AE0
secondary
#E2E7BF
accent
#CD18B8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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