#786ACD#786ACD

#786ACD is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.147 H 287.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#786ACD
RGBrgb(120, 106, 205)
HSLhsl(248, 50%, 61%)
HSVhsv(248, 48%, 80%)
CMYKcmyk(41.5%, 48.3%, 0%, 19.6%)
CIE-LABlab(50.34, 29.70, -49.67)
CIE-LCHlch(50.34, 57.87, 300.87°)
OKLaboklab(58.38% 0.0441 -0.1407)
OKLCHoklch(58.38% 0.147 287.4)
XYZxyz(23.9161, 18.7081, 60.0967)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ACD #BFCD6A
analogous
#6A8DCD #786ACD #A96ACD
triadic
#786ACD #CD786A #6ACD78
tetradic
#786ACD #CD6A8D #BFCD6A #6ACDA9
square
#786ACD #CD6A8D #BFCD6A #6ACDA9
split-complementary
#786ACD #CDA96A #8DCD6A
monochromatic
#3D2F8D #503FBB #786ACD #A298DC #CBC6EC

Accessibility & contrast

On white

4.43
#786ACD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#786ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ACD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ACD#FFFFFF#000000##000000
##786ACD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#5F7E92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #786acd;
/* rgb */ color: rgb(120, 106, 205);
/* oklch */ color: oklch(58.4% 0.147 287.4);
Tailwind
colors: {
  custom: {
    50: '#a395dd',
    500: '#786acd',
    950: '#000000',
  },
}
SCSS
$custom: #786acd;
$custom-light: #a395dd;
$custom-dark: #000000;
JSON
{
  "hex": "#786acd",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 205
  },
  "hsl": {
    "h": 248.485,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.14746,
    "h": 287.4
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#786ACD
secondary
#D7DCB7
accent
#BD28A8
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #786ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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