#786ACB#786ACB

#786ACB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.145 H 287.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#786ACB
RGBrgb(120, 106, 203)
HSLhsl(249, 48%, 61%)
HSVhsv(249, 48%, 80%)
CMYKcmyk(40.9%, 47.8%, 0%, 20.4%)
CIE-LABlab(50.23, 29.13, -48.71)
CIE-LCHlch(50.23, 56.75, 300.88°)
OKLaboklab(58.26% 0.0439 -0.1379)
OKLCHoklch(58.26% 0.145 287.7)
XYZxyz(23.6762, 18.6121, 58.8334)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ACB #BDCB6A
analogous
#6A8CCB #786ACB #A86ACB
triadic
#786ACB #CB786A #6ACB78
tetradic
#786ACB #CB6A8C #BDCB6A #6ACBA8
square
#786ACB #CB6A8C #BDCB6A #6ACBA8
split-complementary
#786ACB #CBA86A #8CCB6A
monochromatic
#3D308A #5140B8 #786ACB #A197DB #CAC5EB

Accessibility & contrast

On white

4.45
#786ACB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#786ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ACB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ACB#FFFFFF#000000##000000
##786ACB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#607E91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786acb;
/* rgb */ color: rgb(120, 106, 203);
/* oklch */ color: oklch(58.3% 0.145 287.7);
Tailwind
colors: {
  custom: {
    50: '#a395db',
    500: '#786acb',
    950: '#000000',
  },
}
SCSS
$custom: #786acb;
$custom-light: #a395db;
$custom-dark: #000000;
JSON
{
  "hex": "#786acb",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 203
  },
  "hsl": {
    "h": 248.66,
    "s": 48.259,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58262,
    "c": 0.14471,
    "h": 287.7
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#786ACB
secondary
#D6DBB6
accent
#BC2AA7
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #786ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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