#786EA5#786EA5

#786EA5 is a mid, moderate violet. Relative luminance 0.179; OKLCH L 57.0% C 0.084 H 291.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#786EA5
RGBrgb(120, 110, 165)
HSLhsl(251, 23%, 54%)
HSVhsv(251, 33%, 65%)
CMYKcmyk(27.3%, 33.3%, 0%, 35.3%)
CIE-LABlab(49.33, 16.36, -28.15)
CIE-LCHlch(49.33, 32.56, 300.17°)
OKLaboklab(56.95% 0.0313 -0.0781)
OKLCHoklch(56.95% 0.084 291.8)
XYZxyz(20.1115, 17.8612, 37.9780)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EA5 #9BA56E
analogous
#6E80A5 #786EA5 #946EA5
triadic
#786EA5 #A5786E #6EA578
tetradic
#786EA5 #A56E80 #9BA56E #6EA594
square
#786EA5 #A56E80 #9BA56E #6EA594
split-complementary
#786EA5 #A5946E #80A56E
monochromatic
#413A5E #5B5284 #786EA5 #9B94BC #BEBAD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786EA5#FFFFFF#000000##FFFFFF
##786EA51.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F76A7
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#6E7782
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #786ea5;
/* rgb */ color: rgb(120, 110, 165);
/* oklch */ color: oklch(57.0% 0.084 291.8);
Tailwind
colors: {
  custom: {
    50: '#a097c0',
    500: '#786ea5',
    950: '#000000',
  },
}
SCSS
$custom: #786ea5;
$custom-light: #a097c0;
$custom-dark: #000000;
JSON
{
  "hex": "#786ea5",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 165
  },
  "hsl": {
    "h": 250.909,
    "s": 23.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5695,
    "c": 0.08417,
    "h": 291.8
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#786EA5
secondary
#BFC3AC
accent
#C068B0
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #786EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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