#786FC0#786FC0

#786FC0 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.6% C 0.122 H 287.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#786FC0
RGBrgb(120, 111, 192)
HSLhsl(247, 39%, 59%)
HSVhsv(247, 42%, 75%)
CMYKcmyk(37.5%, 42.2%, 0%, 24.7%)
CIE-LABlab(50.88, 23.03, -41.37)
CIE-LCHlch(50.88, 47.35, 299.11°)
OKLaboklab(58.56% 0.0358 -0.1164)
OKLCHoklch(58.56% 0.122 287.1)
XYZxyz(22.9420, 19.1670, 52.3498)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FC0 #B7C06F
analogous
#6F8FC0 #786FC0 #A16FC0
triadic
#786FC0 #C0786F #6FC078
tetradic
#786FC0 #C06F8F #B7C06F #6FC0A1
square
#786FC0 #C06F8F #B7C06F #6FC0A1
split-complementary
#786FC0 #C0A16F #8FC06F
monochromatic
#3F377E #544AA8 #786FC0 #A09AD3 #C8C4E5

Accessibility & contrast

On white

4.34
#786FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#786FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FC0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FC0#FFFFFF#000000##000000
##786FC01.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC3
Deuteranopia (green-blind)
#5377BE
Tritanopia (blue-blind)
#657F8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #786fc0;
/* rgb */ color: rgb(120, 111, 192);
/* oklch */ color: oklch(58.6% 0.122 287.1);
Tailwind
colors: {
  custom: {
    50: '#a298d3',
    500: '#786fc0',
    950: '#000000',
  },
}
SCSS
$custom: #786fc0;
$custom-light: #a298d3;
$custom-dark: #000000;
JSON
{
  "hex": "#786fc0",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 192
  },
  "hsl": {
    "h": 246.667,
    "s": 39.13,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58561,
    "c": 0.12179,
    "h": 287.1
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#786FC0
secondary
#D2D5B6
accent
#CF59C2
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #786FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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