#786ADC#786ADC

#786ADC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.3% C 0.168 H 285.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#786ADC
RGBrgb(120, 106, 220)
HSLhsl(247, 62%, 64%)
HSVhsv(247, 52%, 86%)
CMYKcmyk(45.5%, 51.8%, 0%, 13.7%)
CIE-LABlab(51.23, 34.02, -56.78)
CIE-LCHlch(51.23, 66.19, 300.93°)
OKLaboklab(59.33% 0.0454 -0.1616)
OKLCHoklch(59.33% 0.168 285.7)
XYZxyz(25.8143, 19.4673, 70.0937)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ADC #CEDC6A
analogous
#6A95DC #786ADC #B16ADC
triadic
#786ADC #DC786A #6ADC78
tetradic
#786ADC #DC6A95 #CEDC6A #6ADCB1
square
#786ADC #DC6A95 #CEDC6A #6ADCB1
split-complementary
#786ADC #DCB16A #95DC6A
monochromatic
#3627A5 #4B38D0 #786ADC #A59CE8 #D2CDF3

Accessibility & contrast

On white

4.29
#786ADC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#786ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ADC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ADC#FFFFFF#000000##000000
##786ADC1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#3077D9
Tritanopia (blue-blind)
#588299
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #786adc;
/* rgb */ color: rgb(120, 106, 220);
/* oklch */ color: oklch(59.3% 0.168 285.7);
Tailwind
colors: {
  custom: {
    50: '#a595e7',
    500: '#786adc',
    950: '#000000',
  },
}
SCSS
$custom: #786adc;
$custom-light: #a595e7;
$custom-dark: #000000;
JSON
{
  "hex": "#786adc",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 220
  },
  "hsl": {
    "h": 247.368,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.16782,
    "h": 285.7
  },
  "luminance": 0.19468
}

Semantic roles & 50–950 ramp

primary
#786ADC
secondary
#E0E5BD
accent
#CA1CB4
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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