#786FFE#786FFE

#786FFE is a light, highly saturated blue. Relative luminance 0.225; OKLCH L 62.5% C 0.206 H 281.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#786FFE
RGBrgb(120, 111, 254)
HSLhsl(244, 99%, 72%)
HSVhsv(244, 56%, 100%)
CMYKcmyk(52.8%, 56.3%, 0%, 0.4%)
CIE-LABlab(54.57, 41.15, -70.40)
CIE-LCHlch(54.57, 81.55, 300.31°)
OKLaboklab(62.51% 0.0409 -0.2016)
OKLCHoklch(62.51% 0.206 281.5)
XYZxyz(31.3140, 22.5158, 96.4427)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FFE #F5FE6F
analogous
#6FAEFE #786FFE #C06FFE
triadic
#786FFE #FE786F #6FFE78
tetradic
#786FFE #FE6FAE #F5FE6F #6FFEC0
square
#786FFE #FE6FAE #F5FE6F #6FFEC0
split-complementary
#786FFE #FEC06F #AEFE6F
monochromatic
#1102F1 #3F32FE #786FFE #B1ACFE #E3E1FF

Accessibility & contrast

On white

3.82
#786FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#786FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FFE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FFE#FFFFFF#000000##000000
##786FFE1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#3D90AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #786ffe;
/* rgb */ color: rgb(120, 111, 254);
/* oklch */ color: oklch(62.5% 0.206 281.5);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#786ffe',
    950: '#000000',
  },
}
SCSS
$custom: #786ffe;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786ffe",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 243.776,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.62512,
    "c": 0.20572,
    "h": 281.5
  },
  "luminance": 0.22518
}

Semantic roles & 50–950 ramp

primary
#786FFE
secondary
#F4F7D2
accent
#E600D7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #786FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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