#786DE9#786DE9

#786DE9 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.7% C 0.181 H 283.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#786DE9
RGBrgb(120, 109, 233)
HSLhsl(245, 74%, 67%)
HSVhsv(245, 53%, 91%)
CMYKcmyk(48.5%, 53.2%, 0%, 8.6%)
CIE-LABlab(52.74, 36.06, -61.66)
CIE-LCHlch(52.74, 71.43, 300.32°)
OKLaboklab(60.72% 0.0426 -0.1759)
OKLCHoklch(60.72% 0.181 283.6)
XYZxyz(27.9179, 20.8121, 79.6211)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DE9 #DEE96D
analogous
#6DA0E9 #786DE9 #B66DE9
triadic
#786DE9 #E9786D #6DE978
tetradic
#786DE9 #E96DA0 #DEE96D #6DE9B6
square
#786DE9 #E96DA0 #DEE96D #6DE9B6
split-complementary
#786DE9 #E9B66D #A0E96D
monochromatic
#2B1DBF #4738E1 #786DE9 #A9A2F1 #DAD7F9

Accessibility & contrast

On white

4.07
#786DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#786DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DE9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DE9#FFFFFF#000000##000000
##786DE91.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982ED
Deuteranopia (green-blind)
#217AE6
Tritanopia (blue-blind)
#4F88A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #786de9;
/* rgb */ color: rgb(120, 109, 233);
/* oklch */ color: oklch(60.7% 0.181 283.6);
Tailwind
colors: {
  custom: {
    50: '#a697f1',
    500: '#786de9',
    950: '#000000',
  },
}
SCSS
$custom: #786de9;
$custom-light: #a697f1;
$custom-dark: #000000;
JSON
{
  "hex": "#786de9",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 233
  },
  "hsl": {
    "h": 245.323,
    "s": 73.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.18101,
    "h": 283.6
  },
  "luminance": 0.20814
}

Semantic roles & 50–950 ramp

primary
#786DE9
secondary
#E9EDC5
accent
#D610C4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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