#786ACF#786ACF

#786ACF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.5% C 0.150 H 287.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#786ACF
RGBrgb(120, 106, 207)
HSLhsl(248, 51%, 61%)
HSVhsv(248, 49%, 81%)
CMYKcmyk(42%, 48.8%, 0%, 18.8%)
CIE-LABlab(50.46, 30.27, -50.63)
CIE-LCHlch(50.46, 58.99, 300.87°)
OKLaboklab(58.51% 0.0443 -0.1435)
OKLCHoklch(58.51% 0.15 287.2)
XYZxyz(24.1591, 18.8053, 61.3762)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ACF #C1CF6A
analogous
#6A8FCF #786ACF #AB6ACF
triadic
#786ACF #CF786A #6ACF78
tetradic
#786ACF #CF6A8F #C1CF6A #6ACFAB
square
#786ACF #CF6A8F #C1CF6A #6ACFAB
split-complementary
#786ACF #CFAB6A #8FCF6A
monochromatic
#3C2E90 #4F3DBE #786ACF #A298DE #CCC7ED

Accessibility & contrast

On white

4.41
#786ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#786ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ACF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ACF#FFFFFF#000000##000000
##786ACF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#417BD3
Deuteranopia (green-blind)
#4075CD
Tritanopia (blue-blind)
#5F7F93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #786acf;
/* rgb */ color: rgb(120, 106, 207);
/* oklch */ color: oklch(58.5% 0.150 287.2);
Tailwind
colors: {
  custom: {
    50: '#a395de',
    500: '#786acf',
    950: '#000000',
  },
}
SCSS
$custom: #786acf;
$custom-light: #a395de;
$custom-dark: #000000;
JSON
{
  "hex": "#786acf",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 207
  },
  "hsl": {
    "h": 248.317,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.15021,
    "h": 287.2
  },
  "luminance": 0.18806
}

Semantic roles & 50–950 ramp

primary
#786ACF
secondary
#D8DDB8
accent
#BF27AA
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #786ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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