#786AFC#786AFC

#786AFC is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.5% C 0.209 H 282.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#786AFC
RGBrgb(120, 106, 252)
HSLhsl(246, 96%, 70%)
HSVhsv(246, 58%, 99%)
CMYKcmyk(52.4%, 57.9%, 0%, 1.2%)
CIE-LABlab(53.31, 43.45, -71.34)
CIE-LCHlch(53.31, 83.53, 301.34°)
OKLaboklab(61.54% 0.0459 -0.2044)
OKLCHoklch(61.54% 0.21 282.7)
XYZxyz(30.4651, 21.3277, 94.5879)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786AFC #EEFC6A
analogous
#6AA5FC #786AFC #C16AFC
triadic
#786AFC #FC786A #6AFC78
tetradic
#786AFC #FC6AA5 #EEFC6A #6AFCC1
square
#786AFC #FC6AA5 #EEFC6A #6AFCC1
split-complementary
#786AFC #FCC16A #A5FC6A
monochromatic
#1A05E7 #422EFB #786AFC #AEA6FD #E4E1FE

Accessibility & contrast

On white

3.99
#786AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#786AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786AFC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786AFC#FFFFFF#000000##000000
##786AFC1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007AF9
Tritanopia (blue-blind)
#408CA9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786afc;
/* rgb */ color: rgb(120, 106, 252);
/* oklch */ color: oklch(61.5% 0.209 282.7);
Tailwind
colors: {
  custom: {
    50: '#a995fe',
    500: '#786afc',
    950: '#000000',
  },
}
SCSS
$custom: #786afc;
$custom-light: #a995fe;
$custom-dark: #000000;
JSON
{
  "hex": "#786afc",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 245.753,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.2095,
    "h": 282.7
  },
  "luminance": 0.21329
}

Semantic roles & 50–950 ramp

primary
#786AFC
secondary
#F1F5CD
accent
#E600CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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