#786EF3#786EF3

#786EF3 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.6% C 0.193 H 282.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#786EF3
RGBrgb(120, 110, 243)
HSLhsl(245, 85%, 69%)
HSVhsv(245, 55%, 95%)
CMYKcmyk(50.6%, 54.7%, 0%, 4.7%)
CIE-LABlab(53.62, 38.44, -65.84)
CIE-LCHlch(53.62, 76.24, 300.28°)
OKLaboklab(61.57% 0.0418 -0.1882)
OKLCHoklch(61.57% 0.193 282.5)
XYZxyz(29.4944, 21.6144, 87.3945)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EF3 #E9F36E
analogous
#6EA7F3 #786EF3 #BB6EF3
triadic
#786EF3 #F3786E #6EF378
tetradic
#786EF3 #F36EA7 #E9F36E #6EF3BB
square
#786EF3 #F36EA7 #E9F36E #6EF3BB
split-complementary
#786EF3 #F3BB6E #A7F36E
monochromatic
#2012D5 #4335EE #786EF3 #ADA7F8 #E1DFFC

Accessibility & contrast

On white

3.94
#786EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#786EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EF3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EF3#FFFFFF#000000##000000
##786EF31.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1885F8
Deuteranopia (green-blind)
#007CF0
Tritanopia (blue-blind)
#478CA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #786ef3;
/* rgb */ color: rgb(120, 110, 243);
/* oklch */ color: oklch(61.6% 0.193 282.5);
Tailwind
colors: {
  custom: {
    50: '#a798f8',
    500: '#786ef3',
    950: '#000000',
  },
}
SCSS
$custom: #786ef3;
$custom-light: #a798f8;
$custom-dark: #000000;
JSON
{
  "hex": "#786ef3",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 244.511,
    "s": 84.713,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61573,
    "c": 0.19279,
    "h": 282.5
  },
  "luminance": 0.21616
}

Semantic roles & 50–950 ramp

primary
#786EF3
secondary
#EFF2CB
accent
#E104D1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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