#786EBE#786EBE

#786EBE is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.120 H 287.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#786EBE
RGBrgb(120, 110, 190)
HSLhsl(248, 38%, 59%)
HSVhsv(248, 42%, 75%)
CMYKcmyk(36.8%, 42.1%, 0%, 25.5%)
CIE-LABlab(50.53, 23.07, -40.78)
CIE-LCHlch(50.53, 46.86, 299.50°)
OKLaboklab(58.26% 0.0368 -0.1147)
OKLCHoklch(58.26% 0.12 287.8)
XYZxyz(22.6134, 18.8620, 51.1545)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EBE #B4BE6E
analogous
#6E8CBE #786EBE #A06EBE
triadic
#786EBE #BE786E #6EBE78
tetradic
#786EBE #BE6E8C #B4BE6E #6EBEA0
square
#786EBE #BE6E8C #B4BE6E #6EBEA0
split-complementary
#786EBE #BEA06E #8CBE6E
monochromatic
#3F377B #554AA5 #786EBE #9F98D1 #C7C3E4

Accessibility & contrast

On white

4.40
#786EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#786EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EBE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EBE#FFFFFF#000000##000000
##786EBE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#5376BC
Tritanopia (blue-blind)
#667D8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #786ebe;
/* rgb */ color: rgb(120, 110, 190);
/* oklch */ color: oklch(58.3% 0.120 287.8);
Tailwind
colors: {
  custom: {
    50: '#a297d2',
    500: '#786ebe',
    950: '#000000',
  },
}
SCSS
$custom: #786ebe;
$custom-light: #a297d2;
$custom-dark: #000000;
JSON
{
  "hex": "#786ebe",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 190
  },
  "hsl": {
    "h": 247.5,
    "s": 38.095,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.12046,
    "h": 287.8
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#786EBE
secondary
#D0D4B4
accent
#CE5AC0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #786EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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