#786ABA#786ABA

#786ABA is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.3% C 0.121 H 290.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#786ABA
RGBrgb(120, 106, 186)
HSLhsl(251, 37%, 57%)
HSVhsv(251, 43%, 73%)
CMYKcmyk(35.5%, 43%, 0%, 27.1%)
CIE-LABlab(49.31, 24.37, -40.40)
CIE-LCHlch(49.31, 47.18, 301.11°)
OKLaboklab(57.27% 0.0415 -0.1136)
OKLCHoklch(57.27% 0.121 290.1)
XYZxyz(21.7603, 17.8458, 48.7429)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ABA #ACBA6A
analogous
#6A84BA #786ABA #A06ABA
triadic
#786ABA #BA786A #6ABA78
tetradic
#786ABA #BA6A84 #ACBA6A #6ABAA0
square
#786ABA #BA6A84 #ACBA6A #6ABAA0
split-complementary
#786ABA #BAA06A #84BA6A
monochromatic
#413674 #58499E #786ABA #9E94CD #C4BEE1

Accessibility & contrast

On white

4.60
#786ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#786ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #786ABA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ABA#FFFFFF#000000##FFFFFF
##786ABA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#677989
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #786aba;
/* rgb */ color: rgb(120, 106, 186);
/* oklch */ color: oklch(57.3% 0.121 290.1);
Tailwind
colors: {
  custom: {
    50: '#a194cf',
    500: '#786aba',
    950: '#000000',
  },
}
SCSS
$custom: #786aba;
$custom-light: #a194cf;
$custom-dark: #000000;
JSON
{
  "hex": "#786aba",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 250.5,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57267,
    "c": 0.12094,
    "h": 290.1
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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