#786EED#786EED

#786EED is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.2% C 0.185 H 283.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#786EED
RGBrgb(120, 110, 237)
HSLhsl(245, 78%, 68%)
HSVhsv(245, 54%, 93%)
CMYKcmyk(49.4%, 53.6%, 0%, 7.1%)
CIE-LABlab(53.23, 36.66, -63.12)
CIE-LCHlch(53.23, 72.99, 300.15°)
OKLaboklab(61.16% 0.0417 -0.1802)
OKLCHoklch(61.16% 0.185 283)
XYZxyz(28.6031, 21.2579, 82.7004)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EED #E3ED6E
analogous
#6EA4ED #786EED #B76EED
triadic
#786EED #ED786E #6EED78
tetradic
#786EED #ED6EA4 #E3ED6E #6EEDB7
square
#786EED #ED6EA4 #E3ED6E #6EEDB7
split-complementary
#786EED #EDB76E #A4ED6E
monochromatic
#2719C8 #4538E6 #786EED #ABA4F4 #DDDBFB

Accessibility & contrast

On white

4.00
#786EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#786EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EED
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EED#FFFFFF#000000##000000
##786EED1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F1
Deuteranopia (green-blind)
#1A7BEA
Tritanopia (blue-blind)
#4C8AA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786eed;
/* rgb */ color: rgb(120, 110, 237);
/* oklch */ color: oklch(61.2% 0.185 283.0);
Tailwind
colors: {
  custom: {
    50: '#a698f4',
    500: '#786eed',
    950: '#000000',
  },
}
SCSS
$custom: #786eed;
$custom-light: #a698f4;
$custom-dark: #000000;
JSON
{
  "hex": "#786eed",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 237
  },
  "hsl": {
    "h": 244.724,
    "s": 77.914,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.18495,
    "h": 283
  },
  "luminance": 0.21259
}

Semantic roles & 50–950 ramp

primary
#786EED
secondary
#ECEFC8
accent
#DA0BCA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786EED

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

Preview Lab → · Contrast checker → · Palette generator →

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