#786ADF#786ADF

#786ADF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.5% C 0.172 H 285.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#786ADF
RGBrgb(120, 106, 223)
HSLhsl(247, 65%, 65%)
HSVhsv(247, 52%, 87%)
CMYKcmyk(46.2%, 52.5%, 0%, 12.5%)
CIE-LABlab(51.41, 34.89, -58.18)
CIE-LCHlch(51.41, 67.84, 300.95°)
OKLaboklab(59.53% 0.0455 -0.1657)
OKLCHoklch(59.53% 0.172 285.4)
XYZxyz(26.2151, 19.6277, 72.2050)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ADF #D1DF6A
analogous
#6A97DF #786ADF #B26ADF
triadic
#786ADF #DF786A #6ADF78
tetradic
#786ADF #DF6A97 #D1DF6A #6ADFB2
square
#786ADF #DF6A97 #D1DF6A #6ADFB2
split-complementary
#786ADF #DFB26A #97DF6A
monochromatic
#3525AA #4A38D4 #786ADF #A69CEA #D3CFF5

Accessibility & contrast

On white

4.26
#786ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#786ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ADF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ADF#FFFFFF#000000##000000
##786ADF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#307EE3
Deuteranopia (green-blind)
#2C77DC
Tritanopia (blue-blind)
#56839A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #786adf;
/* rgb */ color: rgb(120, 106, 223);
/* oklch */ color: oklch(59.5% 0.172 285.4);
Tailwind
colors: {
  custom: {
    50: '#a595ea',
    500: '#786adf',
    950: '#000000',
  },
}
SCSS
$custom: #786adf;
$custom-light: #a595ea;
$custom-dark: #000000;
JSON
{
  "hex": "#786adf",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 223
  },
  "hsl": {
    "h": 247.179,
    "s": 64.641,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.17183,
    "h": 285.4
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#786ADF
secondary
#E2E7BE
accent
#CC19B7
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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