#786EDE#786EDE

#786EDE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.2% C 0.165 H 284.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#786EDE
RGBrgb(120, 110, 222)
HSLhsl(245, 63%, 65%)
HSVhsv(245, 50%, 87%)
CMYKcmyk(45.9%, 50.5%, 0%, 12.9%)
CIE-LABlab(52.31, 32.23, -56.18)
CIE-LCHlch(52.31, 64.77, 299.84°)
OKLaboklab(60.18% 0.0408 -0.1598)
OKLCHoklch(60.18% 0.165 284.3)
XYZxyz(26.5026, 20.4177, 71.6376)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EDE #D4DE6E
analogous
#6E9CDE #786EDE #B06EDE
triadic
#786EDE #DE786E #6EDE78
tetradic
#786EDE #DE6E9C #D4DE6E #6EDEB0
square
#786EDE #DE6E9C #D4DE6E #6EDEB0
split-complementary
#786EDE #DEB06E #9CDE6E
monochromatic
#3327AB #4A3CD3 #786EDE #A6A0E9 #D5D2F5

Accessibility & contrast

On white

4.13
#786EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#786EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EDE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EDE#FFFFFF#000000##000000
##786EDE1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E2
Deuteranopia (green-blind)
#3679DC
Tritanopia (blue-blind)
#56869C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #786ede;
/* rgb */ color: rgb(120, 110, 222);
/* oklch */ color: oklch(60.2% 0.165 284.3);
Tailwind
colors: {
  custom: {
    50: '#a597e9',
    500: '#786ede',
    950: '#000000',
  },
}
SCSS
$custom: #786ede;
$custom-light: #a597e9;
$custom-dark: #000000;
JSON
{
  "hex": "#786ede",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 222
  },
  "hsl": {
    "h": 245.357,
    "s": 62.921,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.16493,
    "h": 284.3
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#786EDE
secondary
#E3E7C1
accent
#CB1BBB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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