#786AFF#786AFF

#786AFF is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.8% C 0.213 H 282.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#786AFF
RGBrgb(120, 106, 255)
HSLhsl(246, 100%, 71%)
HSVhsv(246, 58%, 100%)
CMYKcmyk(52.9%, 58.4%, 0%, 0%)
CIE-LABlab(53.51, 44.34, -72.67)
CIE-LCHlch(53.51, 85.13, 301.39°)
OKLaboklab(61.75% 0.0459 -0.2083)
OKLCHoklch(61.75% 0.213 282.4)
XYZxyz(30.9442, 21.5193, 97.1114)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786AFF #F1FF6A
analogous
#6AA6FF #786AFF #C36AFF
triadic
#786AFF #FF786A #6AFF78
tetradic
#786AFF #FF6AA6 #F1FF6A #6AFFC3
square
#786AFF #FF6AA6 #F1FF6A #6AFFC3
split-complementary
#786AFF #FFC36A #A6FF6A
monochromatic
#1600EF #412DFF #786AFF #AFA7FF #E3E0FF

Accessibility & contrast

On white

3.96
#786AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#786AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786AFF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786AFF#FFFFFF#000000##000000
##786AFF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#3D8DAA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #786aff;
/* rgb */ color: rgb(120, 106, 255);
/* oklch */ color: oklch(61.8% 0.213 282.4);
Tailwind
colors: {
  custom: {
    50: '#a995ff',
    500: '#786aff',
    950: '#000000',
  },
}
SCSS
$custom: #786aff;
$custom-light: #a995ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786aff",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 245.638,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.21329,
    "h": 282.4
  },
  "luminance": 0.21521
}

Semantic roles & 50–950 ramp

primary
#786AFF
secondary
#F3F6CE
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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