#786ADD#786ADD

#786ADD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.4% C 0.169 H 285.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#786ADD
RGBrgb(120, 106, 221)
HSLhsl(247, 63%, 64%)
HSVhsv(247, 52%, 87%)
CMYKcmyk(45.7%, 52%, 0%, 13.3%)
CIE-LABlab(51.29, 34.31, -57.25)
CIE-LCHlch(51.29, 66.74, 300.94°)
OKLaboklab(59.4% 0.0454 -0.163)
OKLCHoklch(59.4% 0.169 285.6)
XYZxyz(25.9471, 19.5205, 70.7933)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ADD #CFDD6A
analogous
#6A96DD #786ADD #B26ADD
triadic
#786ADD #DD786A #6ADD78
tetradic
#786ADD #DD6A96 #CFDD6A #6ADDB2
square
#786ADD #DD6A96 #CFDD6A #6ADDB2
split-complementary
#786ADD #DDB26A #96DD6A
monochromatic
#3626A7 #4B38D2 #786ADD #A59CE8 #D2CEF4

Accessibility & contrast

On white

4.28
#786ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#786ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ADD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ADD#FFFFFF#000000##000000
##786ADD1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE1
Deuteranopia (green-blind)
#2F77DA
Tritanopia (blue-blind)
#578399
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #786add;
/* rgb */ color: rgb(120, 106, 221);
/* oklch */ color: oklch(59.4% 0.169 285.6);
Tailwind
colors: {
  custom: {
    50: '#a595e8',
    500: '#786add',
    950: '#000000',
  },
}
SCSS
$custom: #786add;
$custom-light: #a595e8;
$custom-dark: #000000;
JSON
{
  "hex": "#786add",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 221
  },
  "hsl": {
    "h": 247.304,
    "s": 62.842,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59398,
    "c": 0.16916,
    "h": 285.6
  },
  "luminance": 0.19522
}

Semantic roles & 50–950 ramp

primary
#786ADD
secondary
#E1E5BD
accent
#CB1BB5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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