#786FD0#786FD0

#786FD0 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.144 H 285.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#786FD0
RGBrgb(120, 111, 208)
HSLhsl(246, 51%, 63%)
HSVhsv(246, 47%, 82%)
CMYKcmyk(42.3%, 46.6%, 0%, 18.4%)
CIE-LABlab(51.74, 27.57, -49.15)
CIE-LCHlch(51.74, 56.36, 299.29°)
OKLaboklab(59.49% 0.0382 -0.1392)
OKLCHoklch(59.49% 0.144 285.3)
XYZxyz(24.8121, 19.9150, 62.1989)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FD0 #C7D06F
analogous
#6F97D0 #786FD0 #A86FD0
triadic
#786FD0 #D0786F #6FD078
tetradic
#786FD0 #D06F97 #C7D06F #6FD0A8
square
#786FD0 #D06F97 #C7D06F #6FD0A8
split-complementary
#786FD0 #D0A86F #97D06F
monochromatic
#3A3094 #4D41C1 #786FD0 #A39DDF #CFCBEE

Accessibility & contrast

On white

4.21
#786FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#786FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FD0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FD0#FFFFFF#000000##000000
##786FD01.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED4
Deuteranopia (green-blind)
#4678CE
Tritanopia (blue-blind)
#5E8395
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #786fd0;
/* rgb */ color: rgb(120, 111, 208);
/* oklch */ color: oklch(59.5% 0.144 285.3);
Tailwind
colors: {
  custom: {
    50: '#a398df',
    500: '#786fd0',
    950: '#000000',
  },
}
SCSS
$custom: #786fd0;
$custom-light: #a398df;
$custom-dark: #000000;
JSON
{
  "hex": "#786fd0",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 208
  },
  "hsl": {
    "h": 245.567,
    "s": 50.785,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.14432,
    "h": 285.3
  },
  "luminance": 0.19916
}

Semantic roles & 50–950 ramp

primary
#786FD0
secondary
#DCDFBC
accent
#BE27B0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #786FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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