#786EA0#786EA0

#786EA0 is a mid, moderate violet. Relative luminance 0.177; OKLCH L 56.7% C 0.077 H 293.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#786EA0
RGBrgb(120, 110, 160)
HSLhsl(252, 21%, 53%)
HSVhsv(252, 31%, 63%)
CMYKcmyk(25%, 31.2%, 0%, 37.3%)
CIE-LABlab(49.11, 15.08, -25.56)
CIE-LCHlch(49.11, 29.68, 300.55°)
OKLaboklab(56.71% 0.03 -0.0707)
OKLCHoklch(56.71% 0.077 293)
XYZxyz(19.6653, 17.6827, 35.6279)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EA0 #96A06E
analogous
#6E7DA0 #786EA0 #916EA0
triadic
#786EA0 #A0786E #6EA078
tetradic
#786EA0 #A06E7D #96A06E #6EA091
square
#786EA0 #A06E7D #96A06E #6EA091
split-complementary
#786EA0 #A0916E #7DA06E
monochromatic
#413A59 #5B537E #786EA0 #9A93B8 #BDB8D0

Accessibility & contrast

On white

4.63
#786EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#786EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #786EA0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EA0#FFFFFF#000000##FFFFFF
##786EA01.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6175A2
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#707680
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #786ea0;
/* rgb */ color: rgb(120, 110, 160);
/* oklch */ color: oklch(56.7% 0.077 293.0);
Tailwind
colors: {
  custom: {
    50: '#a097bc',
    500: '#786ea0',
    950: '#000000',
  },
}
SCSS
$custom: #786ea0;
$custom-light: #a097bc;
$custom-dark: #000000;
JSON
{
  "hex": "#786ea0",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 160
  },
  "hsl": {
    "h": 252,
    "s": 20.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.0768,
    "h": 293
  },
  "luminance": 0.17683
}

Semantic roles & 50–950 ramp

primary
#786EA0
secondary
#BBC0AA
accent
#BD6AAD
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #786EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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