#786FE9#786FE9

#786FE9 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.1% C 0.178 H 283.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#786FE9
RGBrgb(120, 111, 233)
HSLhsl(244, 73%, 67%)
HSVhsv(244, 52%, 91%)
CMYKcmyk(48.5%, 52.4%, 0%, 8.6%)
CIE-LABlab(53.22, 34.88, -60.90)
CIE-LCHlch(53.22, 70.18, 299.80°)
OKLaboklab(61.07% 0.0404 -0.1737)
OKLCHoklch(61.07% 0.178 283.1)
XYZxyz(28.1337, 21.2437, 79.6930)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FE9 #E0E96F
analogous
#6FA3E9 #786FE9 #B56FE9
triadic
#786FE9 #E9786F #6FE978
tetradic
#786FE9 #E96FA3 #E0E96F #6FE9B5
square
#786FE9 #E96FA3 #E0E96F #6FE9B5
split-complementary
#786FE9 #E9B56F #A3E96F
monochromatic
#291DC0 #463AE1 #786FE9 #AAA4F1 #DCD9F9

Accessibility & contrast

On white

4.00
#786FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#786FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FE9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FE9#FFFFFF#000000##000000
##786FE91.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83ED
Deuteranopia (green-blind)
#277BE6
Tritanopia (blue-blind)
#4F8AA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786fe9;
/* rgb */ color: rgb(120, 111, 233);
/* oklch */ color: oklch(61.1% 0.178 283.1);
Tailwind
colors: {
  custom: {
    50: '#a698f1',
    500: '#786fe9',
    950: '#000000',
  },
}
SCSS
$custom: #786fe9;
$custom-light: #a698f1;
$custom-dark: #000000;
JSON
{
  "hex": "#786fe9",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 244.426,
    "s": 73.494,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61073,
    "c": 0.1783,
    "h": 283.1
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#786FE9
secondary
#EAEDC7
accent
#D610C7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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