#786EA3#786EA3

#786EA3 is a mid, moderate violet. Relative luminance 0.178; OKLCH L 56.9% C 0.081 H 292.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#786EA3
RGBrgb(120, 110, 163)
HSLhsl(251, 22%, 54%)
HSVhsv(251, 33%, 64%)
CMYKcmyk(26.4%, 32.5%, 0%, 36.1%)
CIE-LABlab(49.24, 15.85, -27.12)
CIE-LCHlch(49.24, 31.41, 300.30°)
OKLaboklab(56.85% 0.0308 -0.0752)
OKLCHoklch(56.85% 0.081 292.3)
XYZxyz(19.9309, 17.7890, 37.0268)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EA3 #99A36E
analogous
#6E7EA3 #786EA3 #926EA3
triadic
#786EA3 #A3786E #6EA378
tetradic
#786EA3 #A36E7E #99A36E #6EA392
square
#786EA3 #A36E7E #99A36E #6EA392
split-complementary
#786EA3 #A3926E #7EA36E
monochromatic
#413A5C #5B5282 #786EA3 #9B93BB #BEB9D3

Accessibility & contrast

On white

4.61
#786EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#786EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #786EA3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EA3#FFFFFF#000000##FFFFFF
##786EA31.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6076A5
Deuteranopia (green-blind)
#6174A2
Tritanopia (blue-blind)
#6F7781
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #786ea3;
/* rgb */ color: rgb(120, 110, 163);
/* oklch */ color: oklch(56.9% 0.081 292.3);
Tailwind
colors: {
  custom: {
    50: '#a097be',
    500: '#786ea3',
    950: '#000000',
  },
}
SCSS
$custom: #786ea3;
$custom-light: #a097be;
$custom-dark: #000000;
JSON
{
  "hex": "#786ea3",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 163
  },
  "hsl": {
    "h": 251.321,
    "s": 22.363,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.08123,
    "h": 292.3
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#786EA3
secondary
#BDC2AB
accent
#BF69AF
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #786EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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