#786ACA#786ACA

#786ACA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.2% C 0.143 H 287.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#786ACA
RGBrgb(120, 106, 202)
HSLhsl(249, 48%, 60%)
HSVhsv(249, 48%, 79%)
CMYKcmyk(40.6%, 47.5%, 0%, 20.8%)
CIE-LABlab(50.17, 28.84, -48.23)
CIE-LCHlch(50.17, 56.19, 300.88°)
OKLaboklab(58.2% 0.0438 -0.1365)
OKLCHoklch(58.2% 0.143 287.8)
XYZxyz(23.5575, 18.5646, 58.2078)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ACA #BCCA6A
analogous
#6A8CCA #786ACA #A86ACA
triadic
#786ACA #CA786A #6ACA78
tetradic
#786ACA #CA6A8C #BCCA6A #6ACAA8
square
#786ACA #CA6A8C #BCCA6A #6ACAA8
split-complementary
#786ACA #CAA86A #8CCA6A
monochromatic
#3E3189 #5241B6 #786ACA #A197DA #CAC4EA

Accessibility & contrast

On white

4.46
#786ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#786ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ACA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ACA#FFFFFF#000000##000000
##786ACA1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#617D90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786aca;
/* rgb */ color: rgb(120, 106, 202);
/* oklch */ color: oklch(58.2% 0.143 287.8);
Tailwind
colors: {
  custom: {
    50: '#a395db',
    500: '#786aca',
    950: '#000000',
  },
}
SCSS
$custom: #786aca;
$custom-light: #a395db;
$custom-dark: #000000;
JSON
{
  "hex": "#786aca",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 202
  },
  "hsl": {
    "h": 248.75,
    "s": 47.525,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.14333,
    "h": 287.8
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#786ACA
secondary
#D5DAB6
accent
#BB2BA6
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #786ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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