#786FDE#786FDE

#786FDE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.164 H 284.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#786FDE
RGBrgb(120, 111, 222)
HSLhsl(245, 63%, 65%)
HSVhsv(245, 50%, 87%)
CMYKcmyk(45.9%, 50%, 0%, 12.9%)
CIE-LABlab(52.55, 31.64, -55.79)
CIE-LCHlch(52.55, 64.14, 299.55°)
OKLaboklab(60.36% 0.0397 -0.1587)
OKLCHoklch(60.36% 0.164 284)
XYZxyz(26.6111, 20.6347, 71.6738)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FDE #D5DE6F
analogous
#6F9DDE #786FDE #AF6FDE
triadic
#786FDE #DE786F #6FDE78
tetradic
#786FDE #DE6F9D #D5DE6F #6FDEAF
square
#786FDE #DE6F9D #D5DE6F #6FDEAF
split-complementary
#786FDE #DEAF6F #9DDE6F
monochromatic
#3227AB #493DD3 #786FDE #A7A1E9 #D5D3F5

Accessibility & contrast

On white

4.10
#786FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#786FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FDE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FDE#FFFFFF#000000##000000
##786FDE1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E2
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#56879C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #786fde;
/* rgb */ color: rgb(120, 111, 222);
/* oklch */ color: oklch(60.4% 0.164 284.0);
Tailwind
colors: {
  custom: {
    50: '#a598e9',
    500: '#786fde',
    950: '#000000',
  },
}
SCSS
$custom: #786fde;
$custom-light: #a598e9;
$custom-dark: #000000;
JSON
{
  "hex": "#786fde",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 222
  },
  "hsl": {
    "h": 244.865,
    "s": 62.712,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.16354,
    "h": 284
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#786FDE
secondary
#E4E7C2
accent
#CA1BBC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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