#786EFE#786EFE

#786EFE is a light, highly saturated blue. Relative luminance 0.223; OKLCH L 62.3% C 0.207 H 281.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#786EFE
RGBrgb(120, 110, 254)
HSLhsl(244, 99%, 71%)
HSVhsv(244, 57%, 100%)
CMYKcmyk(52.8%, 56.7%, 0%, 0.4%)
CIE-LABlab(54.34, 41.73, -70.77)
CIE-LCHlch(54.34, 82.16, 300.53°)
OKLaboklab(62.34% 0.0419 -0.2027)
OKLCHoklch(62.34% 0.207 281.7)
XYZxyz(31.2055, 22.2988, 96.4065)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EFE #F4FE6E
analogous
#6EACFE #786EFE #C06EFE
triadic
#786EFE #FE786E #6EFE78
tetradic
#786EFE #FE6EAC #F4FE6E #6EFEC0
square
#786EFE #FE6EAC #F4FE6E #6EFEC0
split-complementary
#786EFE #FEC06E #ACFE6E
monochromatic
#1202F0 #3F31FE #786EFE #B1ABFE #E3E1FF

Accessibility & contrast

On white

3.85
#786EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#786EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EFE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EFE#FFFFFF#000000##000000
##786EFE1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#3D8FAC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #786efe;
/* rgb */ color: rgb(120, 110, 254);
/* oklch */ color: oklch(62.3% 0.207 281.7);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#786efe',
    950: '#000000',
  },
}
SCSS
$custom: #786efe;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786efe",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 244.167,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.62344,
    "c": 0.20699,
    "h": 281.7
  },
  "luminance": 0.22301
}

Semantic roles & 50–950 ramp

primary
#786EFE
secondary
#F4F7D1
accent
#E600D6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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