#786ABD#786ABD

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

Color values

HEX#786ABD
RGBrgb(120, 106, 189)
HSLhsl(250, 39%, 58%)
HSVhsv(250, 44%, 74%)
CMYKcmyk(36.5%, 43.9%, 0%, 25.9%)
CIE-LABlab(49.47, 25.20, -41.88)
CIE-LCHlch(49.47, 48.88, 301.04°)
OKLaboklab(57.44% 0.042 -0.1179)
OKLCHoklch(57.44% 0.125 289.6)
XYZxyz(22.0826, 17.9747, 50.4402)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ABD #AFBD6A
analogous
#6A86BD #786ABD #A16ABD
triadic
#786ABD #BD786A #6ABD78
tetradic
#786ABD #BD6A86 #AFBD6A #6ABDA1
square
#786ABD #BD6A86 #AFBD6A #6ABDA1
split-complementary
#786ABD #BDA16A #86BD6A
monochromatic
#403578 #5748A2 #786ABD #9E94D0 #C5BFE3

Accessibility & contrast

On white

4.57
#786ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##786ABD#FFFFFF#000000##000000
##786ABD1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#4E74BB
Tritanopia (blue-blind)
#667A8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786abd;
/* rgb */ color: rgb(120, 106, 189);
/* oklch */ color: oklch(57.4% 0.125 289.6);
Tailwind
colors: {
  custom: {
    50: '#a294d1',
    500: '#786abd',
    950: '#000000',
  },
}
SCSS
$custom: #786abd;
$custom-light: #a294d1;
$custom-dark: #000000;
JSON
{
  "hex": "#786abd",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 189
  },
  "hsl": {
    "h": 250.12,
    "s": 38.605,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57436,
    "c": 0.12518,
    "h": 289.6
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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