#786FF4#786FF4

#786FF4 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.8% C 0.193 H 282.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#786FF4
RGBrgb(120, 111, 244)
HSLhsl(244, 86%, 70%)
HSVhsv(244, 55%, 96%)
CMYKcmyk(50.8%, 54.5%, 0%, 4.3%)
CIE-LABlab(53.91, 38.16, -65.92)
CIE-LCHlch(53.91, 76.17, 300.06°)
OKLaboklab(61.82% 0.0408 -0.1884)
OKLCHoklch(61.82% 0.193 282.2)
XYZxyz(29.7543, 21.8919, 88.2281)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FF4 #EBF46F
analogous
#6FA9F4 #786FF4 #BA6FF4
triadic
#786FF4 #F4786F #6FF478
tetradic
#786FF4 #F46FA9 #EBF46F #6FF4BA
square
#786FF4 #F46FA9 #EBF46F #6FF4BA
split-complementary
#786FF4 #F4BA6F #A9F46F
monochromatic
#1E11D8 #4336F0 #786FF4 #ADA8F8 #E3E1FD

Accessibility & contrast

On white

3.90
#786FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#786FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FF4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FF4#FFFFFF#000000##000000
##786FF41.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A85F9
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#468DA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #786ff4;
/* rgb */ color: rgb(120, 111, 244);
/* oklch */ color: oklch(61.8% 0.193 282.2);
Tailwind
colors: {
  custom: {
    50: '#a798f8',
    500: '#786ff4',
    950: '#000000',
  },
}
SCSS
$custom: #786ff4;
$custom-light: #a798f8;
$custom-dark: #000000;
JSON
{
  "hex": "#786ff4",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 244.06,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61815,
    "c": 0.1928,
    "h": 282.2
  },
  "luminance": 0.21894
}

Semantic roles & 50–950 ramp

primary
#786FF4
secondary
#F0F2CC
accent
#E203D3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #786FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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