#786ABC#786ABC

#786ABC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.4% C 0.124 H 289.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#786ABC
RGBrgb(120, 106, 188)
HSLhsl(250, 38%, 58%)
HSVhsv(250, 44%, 74%)
CMYKcmyk(36.2%, 43.6%, 0%, 26.3%)
CIE-LABlab(49.41, 24.92, -41.39)
CIE-LCHlch(49.41, 48.31, 301.06°)
OKLaboklab(57.38% 0.0418 -0.1165)
OKLCHoklch(57.38% 0.124 289.8)
XYZxyz(21.9744, 17.9314, 49.8705)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ABC #AEBC6A
analogous
#6A85BC #786ABC #A16ABC
triadic
#786ABC #BC786A #6ABC78
tetradic
#786ABC #BC6A85 #AEBC6A #6ABCA1
square
#786ABC #BC6A85 #AEBC6A #6ABCA1
split-complementary
#786ABC #BCA16A #85BC6A
monochromatic
#403576 #5748A1 #786ABC #9E94CF #C4BEE2

Accessibility & contrast

On white

4.58
#786ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#786ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ABC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ABC#FFFFFF#000000##000000
##786ABC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#4F74BA
Tritanopia (blue-blind)
#677A8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #786abc;
/* rgb */ color: rgb(120, 106, 188);
/* oklch */ color: oklch(57.4% 0.124 289.8);
Tailwind
colors: {
  custom: {
    50: '#a294d0',
    500: '#786abc',
    950: '#000000',
  },
}
SCSS
$custom: #786abc;
$custom-light: #a294d0;
$custom-dark: #000000;
JSON
{
  "hex": "#786abc",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 250.244,
    "s": 37.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.12377,
    "h": 289.8
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#786ABC
secondary
#CCD1B0
accent
#CE5ABA
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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