#786DED#786DED

#786DED is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.0% C 0.186 H 283.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#786DED
RGBrgb(120, 109, 237)
HSLhsl(245, 78%, 68%)
HSVhsv(245, 54%, 93%)
CMYKcmyk(49.4%, 54%, 0%, 7.1%)
CIE-LABlab(53.00, 37.24, -63.49)
CIE-LCHlch(53.00, 73.61, 300.40°)
OKLaboklab(60.99% 0.0428 -0.1813)
OKLCHoklch(60.99% 0.186 283.3)
XYZxyz(28.4958, 21.0433, 82.6646)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DED #E2ED6D
analogous
#6DA2ED #786DED #B86DED
triadic
#786DED #ED786D #6DED78
tetradic
#786DED #ED6DA2 #E2ED6D #6DEDB8
square
#786DED #ED6DA2 #E2ED6D #6DEDB8
split-complementary
#786DED #EDB86D #A2ED6D
monochromatic
#2819C7 #4637E6 #786DED #AAA3F4 #DDDAFA

Accessibility & contrast

On white

4.03
#786DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#786DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DED#FFFFFF#000000##000000
##786DED1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2283F1
Deuteranopia (green-blind)
#157AEA
Tritanopia (blue-blind)
#4C8AA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #786ded;
/* rgb */ color: rgb(120, 109, 237);
/* oklch */ color: oklch(61.0% 0.186 283.3);
Tailwind
colors: {
  custom: {
    50: '#a797f4',
    500: '#786ded',
    950: '#000000',
  },
}
SCSS
$custom: #786ded;
$custom-light: #a797f4;
$custom-dark: #000000;
JSON
{
  "hex": "#786ded",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 245.156,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.18627,
    "h": 283.3
  },
  "luminance": 0.21045
}

Semantic roles & 50–950 ramp

primary
#786DED
secondary
#EBEFC7
accent
#DA0BC9
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786DED

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

Preview Lab → · Contrast checker → · Palette generator →

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