#786EDD#786EDD

#786EDD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.1% C 0.164 H 284.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#786EDD
RGBrgb(120, 110, 221)
HSLhsl(245, 62%, 65%)
HSVhsv(245, 50%, 87%)
CMYKcmyk(45.7%, 50.2%, 0%, 13.3%)
CIE-LABlab(52.25, 31.94, -55.71)
CIE-LCHlch(52.25, 64.22, 299.82°)
OKLaboklab(60.11% 0.0407 -0.1584)
OKLCHoklch(60.11% 0.164 284.4)
XYZxyz(26.3690, 20.3642, 70.9339)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EDD #D3DD6E
analogous
#6E9CDD #786EDD #AF6EDD
triadic
#786EDD #DD786E #6EDD78
tetradic
#786EDD #DD6E9C #D3DD6E #6EDDAF
square
#786EDD #DD6E9C #D3DD6E #6EDDAF
split-complementary
#786EDD #DDAF6E #9CDD6E
monochromatic
#3328A9 #4A3CD1 #786EDD #A6A0E9 #D4D1F4

Accessibility & contrast

On white

4.14
#786EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#786EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EDD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EDD#FFFFFF#000000##000000
##786EDD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#3779DB
Tritanopia (blue-blind)
#57869B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #786edd;
/* rgb */ color: rgb(120, 110, 221);
/* oklch */ color: oklch(60.1% 0.164 284.4);
Tailwind
colors: {
  custom: {
    50: '#a597e8',
    500: '#786edd',
    950: '#000000',
  },
}
SCSS
$custom: #786edd;
$custom-light: #a597e8;
$custom-dark: #000000;
JSON
{
  "hex": "#786edd",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 221
  },
  "hsl": {
    "h": 245.405,
    "s": 62.011,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60113,
    "c": 0.16357,
    "h": 284.4
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#786EDD
secondary
#E3E6C0
accent
#CA1CBA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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