#786FF0#786FF0

#786FF0 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.5% C 0.188 H 282.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#786FF0
RGBrgb(120, 111, 240)
HSLhsl(244, 81%, 69%)
HSVhsv(244, 54%, 94%)
CMYKcmyk(50%, 53.8%, 0%, 5.9%)
CIE-LABlab(53.66, 36.96, -64.11)
CIE-LCHlch(53.66, 74.00, 299.97°)
OKLaboklab(61.54% 0.0407 -0.1831)
OKLCHoklch(61.54% 0.188 282.5)
XYZxyz(29.1536, 21.6517, 85.0642)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FF0 #E7F06F
analogous
#6FA7F0 #786FF0 #B96FF0
triadic
#786FF0 #F0786F #6FF078
tetradic
#786FF0 #F06FA7 #E7F06F #6FF0B9
square
#786FF0 #F06FA7 #E7F06F #6FF0B9
split-complementary
#786FF0 #F0B96F #A7F06F
monochromatic
#2316CF #4438EA #786FF0 #ACA6F6 #E0DEFC

Accessibility & contrast

On white

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

On black

5.33
#786FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FF0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FF0#FFFFFF#000000##000000
##786FF01.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F4
Deuteranopia (green-blind)
#147CED
Tritanopia (blue-blind)
#4A8CA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #786ff0;
/* rgb */ color: rgb(120, 111, 240);
/* oklch */ color: oklch(61.5% 0.188 282.5);
Tailwind
colors: {
  custom: {
    50: '#a798f6',
    500: '#786ff0',
    950: '#000000',
  },
}
SCSS
$custom: #786ff0;
$custom-light: #a798f6;
$custom-dark: #000000;
JSON
{
  "hex": "#786ff0",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 240
  },
  "hsl": {
    "h": 244.186,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.18756,
    "h": 282.5
  },
  "luminance": 0.21653
}

Semantic roles & 50–950 ramp

primary
#786FF0
secondary
#EEF0CA
accent
#DD08CF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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