#786EEE#786EEE

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

Color values

HEX#786EEE
RGBrgb(120, 110, 238)
HSLhsl(245, 79%, 68%)
HSVhsv(245, 54%, 93%)
CMYKcmyk(49.6%, 53.8%, 0%, 6.7%)
CIE-LABlab(53.29, 36.95, -63.57)
CIE-LCHlch(53.29, 73.53, 300.17°)
OKLaboklab(61.23% 0.0417 -0.1815)
OKLCHoklch(61.23% 0.186 282.9)
XYZxyz(28.7496, 21.3165, 83.4719)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EEE #E4EE6E
analogous
#6EA4EE #786EEE #B86EEE
triadic
#786EEE #EE786E #6EEE78
tetradic
#786EEE #EE6EA4 #E4EE6E #6EEEB8
square
#786EEE #EE6EA4 #E4EE6E #6EEEB8
split-complementary
#786EEE #EEB86E #A4EE6E
monochromatic
#2618CA #4537E8 #786EEE #ABA5F4 #DEDCFB

Accessibility & contrast

On white

3.99
#786EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#786EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EEE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EEE#FFFFFF#000000##000000
##786EEE1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F2
Deuteranopia (green-blind)
#167BEB
Tritanopia (blue-blind)
#4B8BA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786eee;
/* rgb */ color: rgb(120, 110, 238);
/* oklch */ color: oklch(61.2% 0.186 282.9);
Tailwind
colors: {
  custom: {
    50: '#a798f4',
    500: '#786eee',
    950: '#000000',
  },
}
SCSS
$custom: #786eee;
$custom-light: #a798f4;
$custom-dark: #000000;
JSON
{
  "hex": "#786eee",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 244.688,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.18626,
    "h": 282.9
  },
  "luminance": 0.21318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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