#786AFD#786AFD

#786AFD is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.6% C 0.211 H 282.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#786AFD
RGBrgb(120, 106, 253)
HSLhsl(246, 97%, 70%)
HSVhsv(246, 58%, 99%)
CMYKcmyk(52.6%, 58.1%, 0%, 0.8%)
CIE-LABlab(53.38, 43.75, -71.78)
CIE-LCHlch(53.38, 84.06, 301.36°)
OKLaboklab(61.61% 0.0459 -0.2057)
OKLCHoklch(61.61% 0.211 282.6)
XYZxyz(30.6240, 21.3912, 95.4247)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786AFD #EFFD6A
analogous
#6AA6FD #786AFD #C16AFD
triadic
#786AFD #FD786A #6AFD78
tetradic
#786AFD #FD6AA6 #EFFD6A #6AFDC1
square
#786AFD #FD6AA6 #EFFD6A #6AFDC1
split-complementary
#786AFD #FDC16A #A6FD6A
monochromatic
#1903E9 #412EFC #786AFD #AFA6FE #E4E1FF

Accessibility & contrast

On white

3.98
#786AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#786AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786AFD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786AFD#FFFFFF#000000##000000
##786AFD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007AFA
Tritanopia (blue-blind)
#3F8DA9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786afd;
/* rgb */ color: rgb(120, 106, 253);
/* oklch */ color: oklch(61.6% 0.211 282.6);
Tailwind
colors: {
  custom: {
    50: '#a995ff',
    500: '#786afd',
    950: '#000000',
  },
}
SCSS
$custom: #786afd;
$custom-light: #a995ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786afd",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 245.714,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.21076,
    "h": 282.6
  },
  "luminance": 0.21393
}

Semantic roles & 50–950 ramp

primary
#786AFD
secondary
#F2F6CD
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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