#786ABB#786ABB

#786ABB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.3% C 0.122 H 289.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#786ABB
RGBrgb(120, 106, 187)
HSLhsl(250, 37%, 57%)
HSVhsv(250, 43%, 73%)
CMYKcmyk(35.8%, 43.3%, 0%, 26.7%)
CIE-LABlab(49.36, 24.65, -40.89)
CIE-LCHlch(49.36, 47.75, 301.08°)
OKLaboklab(57.32% 0.0417 -0.115)
OKLCHoklch(57.32% 0.122 289.9)
XYZxyz(21.8670, 17.8884, 49.3048)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ABB #ADBB6A
analogous
#6A85BB #786ABB #A06ABB
triadic
#786ABB #BB786A #6ABB78
tetradic
#786ABB #BB6A85 #ADBB6A #6ABBA0
square
#786ABB #BB6A85 #ADBB6A #6ABBA0
split-complementary
#786ABB #BBA06A #85BB6A
monochromatic
#403575 #58499F #786ABB #9E94CE #C4BEE1

Accessibility & contrast

On white

4.59
#786ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#786ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #786ABB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ABB#FFFFFF#000000##FFFFFF
##786ABB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BE
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#677989
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #786abb;
/* rgb */ color: rgb(120, 106, 187);
/* oklch */ color: oklch(57.3% 0.122 289.9);
Tailwind
colors: {
  custom: {
    50: '#a294d0',
    500: '#786abb',
    950: '#000000',
  },
}
SCSS
$custom: #786abb;
$custom-light: #a294d0;
$custom-dark: #000000;
JSON
{
  "hex": "#786abb",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 250.37,
    "s": 37.327,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57323,
    "c": 0.12235,
    "h": 289.9
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#786ABB
secondary
#CBD1B0
accent
#CD5BB9
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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