#786EEC#786EEC

#786EEC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.1% C 0.184 H 283.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#786EEC
RGBrgb(120, 110, 236)
HSLhsl(245, 77%, 68%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(49.2%, 53.4%, 0%, 7.5%)
CIE-LABlab(53.17, 36.36, -62.66)
CIE-LCHlch(53.17, 72.44, 300.13°)
OKLaboklab(61.1% 0.0416 -0.1788)
OKLCHoklch(61.1% 0.184 283.1)
XYZxyz(28.4574, 21.1996, 81.9331)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EEC #E2EC6E
analogous
#6EA3EC #786EEC #B76EEC
triadic
#786EEC #EC786E #6EEC78
tetradic
#786EEC #EC6EA3 #E2EC6E #6EECB7
square
#786EEC #EC6EA3 #E2EC6E #6EECB7
split-complementary
#786EEC #ECB76E #A3EC6E
monochromatic
#281AC6 #4638E5 #786EEC #AAA4F3 #DDDAFA

Accessibility & contrast

On white

4.01
#786EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#786EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EEC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EEC#FFFFFF#000000##000000
##786EEC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#1D7BE9
Tritanopia (blue-blind)
#4D8AA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786eec;
/* rgb */ color: rgb(120, 110, 236);
/* oklch */ color: oklch(61.1% 0.184 283.1);
Tailwind
colors: {
  custom: {
    50: '#a698f3',
    500: '#786eec',
    950: '#000000',
  },
}
SCSS
$custom: #786eec;
$custom-light: #a698f3;
$custom-dark: #000000;
JSON
{
  "hex": "#786eec",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 244.762,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61097,
    "c": 0.18362,
    "h": 283.1
  },
  "luminance": 0.21201
}

Semantic roles & 50–950 ramp

primary
#786EEC
secondary
#EBEEC7
accent
#D90CC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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