#786DAD#786DAD

#786DAD is a mid, moderate violet. Relative luminance 0.179; OKLCH L 57.1% C 0.098 H 290.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#786DAD
RGBrgb(120, 109, 173)
HSLhsl(250, 28%, 55%)
HSVhsv(250, 37%, 68%)
CMYKcmyk(30.6%, 37%, 0%, 32.2%)
CIE-LABlab(49.43, 19.06, -32.66)
CIE-LCHlch(49.43, 37.81, 300.27°)
OKLaboklab(57.15% 0.0347 -0.0911)
OKLCHoklch(57.15% 0.098 290.9)
XYZxyz(20.7553, 17.9471, 41.8977)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DAD #A2AD6D
analogous
#6D82AD #786DAD #986DAD
triadic
#786DAD #AD786D #6DAD78
tetradic
#786DAD #AD6D82 #A2AD6D #6DAD98
square
#786DAD #AD6D82 #A2AD6D #6DAD98
split-complementary
#786DAD #AD986D #82AD6D
monochromatic
#413966 #5A4F8D #786DAD #9C94C3 #C0BBD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786DAD#FFFFFF#000000##000000
##786DAD1.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)
#5B77B0
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#6C7885
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #786dad;
/* rgb */ color: rgb(120, 109, 173);
/* oklch */ color: oklch(57.1% 0.098 290.9);
Tailwind
colors: {
  custom: {
    50: '#a097c5',
    500: '#786dad',
    950: '#000000',
  },
}
SCSS
$custom: #786dad;
$custom-light: #a097c5;
$custom-dark: #000000;
JSON
{
  "hex": "#786dad",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 173
  },
  "hsl": {
    "h": 250.313,
    "s": 28.07,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5715,
    "c": 0.09751,
    "h": 290.9
  },
  "luminance": 0.17947
}

Semantic roles & 50–950 ramp

primary
#786DAD
secondary
#C4C8AE
accent
#C463B4
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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