#786ACE#786ACE

#786ACE is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.4% C 0.149 H 287.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#786ACE
RGBrgb(120, 106, 206)
HSLhsl(248, 51%, 61%)
HSVhsv(248, 49%, 81%)
CMYKcmyk(41.7%, 48.5%, 0%, 19.2%)
CIE-LABlab(50.40, 29.98, -50.15)
CIE-LCHlch(50.40, 58.43, 300.87°)
OKLaboklab(58.45% 0.0442 -0.1421)
OKLCHoklch(58.45% 0.149 287.3)
XYZxyz(24.0372, 18.7565, 60.7344)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ACE #C0CE6A
analogous
#6A8ECE #786ACE #AA6ACE
triadic
#786ACE #CE786A #6ACE78
tetradic
#786ACE #CE6A8E #C0CE6A #6ACEAA
square
#786ACE #CE6A8E #C0CE6A #6ACEAA
split-complementary
#786ACE #CEAA6A #8ECE6A
monochromatic
#3C2F8F #503EBD #786ACE #A298DD #CBC6EC

Accessibility & contrast

On white

4.42
#786ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#786ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ACE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ACE#FFFFFF#000000##000000
##786ACE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD2
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#5F7F92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #786ace;
/* rgb */ color: rgb(120, 106, 206);
/* oklch */ color: oklch(58.4% 0.149 287.3);
Tailwind
colors: {
  custom: {
    50: '#a395dd',
    500: '#786ace',
    950: '#000000',
  },
}
SCSS
$custom: #786ace;
$custom-light: #a395dd;
$custom-dark: #000000;
JSON
{
  "hex": "#786ace",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 206
  },
  "hsl": {
    "h": 248.4,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58446,
    "c": 0.14884,
    "h": 287.3
  },
  "luminance": 0.18757
}

Semantic roles & 50–950 ramp

primary
#786ACE
secondary
#D7DDB7
accent
#BE28A9
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #786ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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