#786EA9#786EA9

#786EA9 is a mid, moderate violet. Relative luminance 0.180; OKLCH L 57.1% C 0.090 H 291.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#786EA9
RGBrgb(120, 110, 169)
HSLhsl(250, 26%, 55%)
HSVhsv(250, 35%, 66%)
CMYKcmyk(29%, 34.9%, 0%, 33.7%)
CIE-LABlab(49.51, 17.40, -30.21)
CIE-LCHlch(49.51, 34.86, 299.95°)
OKLaboklab(57.15% 0.0323 -0.084)
OKLCHoklch(57.15% 0.09 291)
XYZxyz(20.4813, 18.0091, 39.9255)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EA9 #9FA96E
analogous
#6E82A9 #786EA9 #956EA9
triadic
#786EA9 #A9786E #6EA978
tetradic
#786EA9 #A96E82 #9FA96E #6EA995
square
#786EA9 #A96E82 #9FA96E #6EA995
split-complementary
#786EA9 #A9956E #82A96E
monochromatic
#413A62 #5B5189 #786EA9 #9C94C0 #C0BBD7

Accessibility & contrast

On white

4.56
#786EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##786EA9#FFFFFF#000000##000000
##786EA91.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AB
Deuteranopia (green-blind)
#5E75A7
Tritanopia (blue-blind)
#6D7884
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786ea9;
/* rgb */ color: rgb(120, 110, 169);
/* oklch */ color: oklch(57.1% 0.090 291.0);
Tailwind
colors: {
  custom: {
    50: '#a097c3',
    500: '#786ea9',
    950: '#000000',
  },
}
SCSS
$custom: #786ea9;
$custom-light: #a097c3;
$custom-dark: #000000;
JSON
{
  "hex": "#786ea9",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 169
  },
  "hsl": {
    "h": 250.169,
    "s": 25.541,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57147,
    "c": 0.09006,
    "h": 291
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#786EA9
secondary
#C2C6AD
accent
#C266B2
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #786EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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