#786DCE#786DCE

#786DCE is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.144 H 286.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#786DCE
RGBrgb(120, 109, 206)
HSLhsl(247, 50%, 62%)
HSVhsv(247, 47%, 81%)
CMYKcmyk(41.7%, 47.1%, 0%, 19.2%)
CIE-LABlab(51.14, 28.19, -48.98)
CIE-LCHlch(51.14, 56.51, 299.92°)
OKLaboklab(59% 0.0405 -0.1387)
OKLCHoklch(59% 0.144 286.3)
XYZxyz(24.3518, 19.3857, 60.8393)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DCE #C3CE6D
analogous
#6D93CE #786DCE #A96DCE
triadic
#786DCE #CE786D #6DCE78
tetradic
#786DCE #CE6D93 #C3CE6D #6DCEA9
square
#786DCE #CE6D93 #C3CE6D #6DCEA9
split-complementary
#786DCE #CEA96D #93CE6D
monochromatic
#3B3090 #4E40BE #786DCE #A29BDD #CDC9ED

Accessibility & contrast

On white

4.31
#786DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#786DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DCE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DCE#FFFFFF#000000##000000
##786DCE1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD2
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#5F8194
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #786dce;
/* rgb */ color: rgb(120, 109, 206);
/* oklch */ color: oklch(59.0% 0.144 286.3);
Tailwind
colors: {
  custom: {
    50: '#a397dd',
    500: '#786dce',
    950: '#000000',
  },
}
SCSS
$custom: #786dce;
$custom-light: #a397dd;
$custom-dark: #000000;
JSON
{
  "hex": "#786dce",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 206
  },
  "hsl": {
    "h": 246.804,
    "s": 49.744,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.14445,
    "h": 286.3
  },
  "luminance": 0.19387
}

Semantic roles & 50–950 ramp

primary
#786DCE
secondary
#D9DDB9
accent
#BD28AC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #786DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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