#786FF3#786FF3

#786FF3 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.191 H 282.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#786FF3
RGBrgb(120, 111, 243)
HSLhsl(244, 85%, 69%)
HSVhsv(244, 54%, 95%)
CMYKcmyk(50.6%, 54.3%, 0%, 4.7%)
CIE-LABlab(53.85, 37.86, -65.47)
CIE-LCHlch(53.85, 75.62, 300.04°)
OKLaboklab(61.75% 0.0408 -0.1871)
OKLCHoklch(61.75% 0.191 282.3)
XYZxyz(29.6029, 21.8314, 87.4307)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FF3 #EAF36F
analogous
#6FA8F3 #786FF3 #BA6FF3
triadic
#786FF3 #F3786F #6FF378
tetradic
#786FF3 #F36FA8 #EAF36F #6FF3BA
square
#786FF3 #F36FA8 #EAF36F #6FF3BA
split-complementary
#786FF3 #F3BA6F #A8F36F
monochromatic
#1F12D6 #4337EE #786FF3 #ADA7F8 #E2E0FC

Accessibility & contrast

On white

3.91
#786FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#786FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FF3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FF3#FFFFFF#000000##000000
##786FF31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D85F8
Deuteranopia (green-blind)
#057CF0
Tritanopia (blue-blind)
#478DA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #786ff3;
/* rgb */ color: rgb(120, 111, 243);
/* oklch */ color: oklch(61.7% 0.191 282.3);
Tailwind
colors: {
  custom: {
    50: '#a798f8',
    500: '#786ff3',
    950: '#000000',
  },
}
SCSS
$custom: #786ff3;
$custom-light: #a798f8;
$custom-dark: #000000;
JSON
{
  "hex": "#786ff3",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 244.091,
    "s": 84.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.19149,
    "h": 282.3
  },
  "luminance": 0.21833
}

Semantic roles & 50–950 ramp

primary
#786FF3
secondary
#EFF2CC
accent
#E104D2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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