#786ABE#786ABE

#786ABE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.5% C 0.127 H 289.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#786ABE
RGBrgb(120, 106, 190)
HSLhsl(250, 39%, 58%)
HSVhsv(250, 44%, 75%)
CMYKcmyk(36.8%, 44.2%, 0%, 25.5%)
CIE-LABlab(49.52, 25.48, -42.37)
CIE-LCHlch(49.52, 49.44, 301.02°)
OKLaboklab(57.49% 0.0422 -0.1194)
OKLCHoklch(57.49% 0.127 289.5)
XYZxyz(22.1915, 18.0182, 51.0139)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ABE #B0BE6A
analogous
#6A86BE #786ABE #A26ABE
triadic
#786ABE #BE786A #6ABE78
tetradic
#786ABE #BE6A86 #B0BE6A #6ABEA2
square
#786ABE #BE6A86 #B0BE6A #6ABEA2
split-complementary
#786ABE #BEA26A #86BE6A
monochromatic
#403579 #5747A3 #786ABE #9F95D1 #C5BFE3

Accessibility & contrast

On white

4.56
#786ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#786ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ABE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ABE#FFFFFF#000000##000000
##786ABE1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C1
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#667A8B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786abe;
/* rgb */ color: rgb(120, 106, 190);
/* oklch */ color: oklch(57.5% 0.127 289.5);
Tailwind
colors: {
  custom: {
    50: '#a294d2',
    500: '#786abe',
    950: '#000000',
  },
}
SCSS
$custom: #786abe;
$custom-light: #a294d2;
$custom-dark: #000000;
JSON
{
  "hex": "#786abe",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 190
  },
  "hsl": {
    "h": 250,
    "s": 39.252,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57494,
    "c": 0.12659,
    "h": 289.5
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#786ABE
secondary
#CDD3B1
accent
#CF59BB
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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