#786FFF#786FFF

#786FFF is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.6% C 0.207 H 281.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#786FFF
RGBrgb(120, 111, 255)
HSLhsl(244, 100%, 72%)
HSVhsv(244, 56%, 100%)
CMYKcmyk(52.9%, 56.5%, 0%, 0%)
CIE-LABlab(54.64, 41.45, -70.84)
CIE-LCHlch(54.64, 82.08, 300.33°)
OKLaboklab(62.58% 0.0409 -0.2029)
OKLCHoklch(62.58% 0.207 281.4)
XYZxyz(31.4746, 22.5801, 97.2882)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FFF #F6FF6F
analogous
#6FAEFF #786FFF #C06FFF
triadic
#786FFF #FF786F #6FFF78
tetradic
#786FFF #FF6FAE #F6FF6F #6FFFC0
square
#786FFF #FF6FAE #F6FF6F #6FFFC0
split-complementary
#786FFF #FFC06F #AEFF6F
monochromatic
#0F00F4 #3F32FF #786FFF #B1ACFF #E2E0FF

Accessibility & contrast

On white

3.81
#786FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#786FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FFF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FFF#FFFFFF#000000##000000
##786FFF1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786fff;
/* rgb */ color: rgb(120, 111, 255);
/* oklch */ color: oklch(62.6% 0.207 281.4);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#786fff',
    950: '#000000',
  },
}
SCSS
$custom: #786fff;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786fff",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 255
  },
  "hsl": {
    "h": 243.75,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.62583,
    "c": 0.20701,
    "h": 281.4
  },
  "luminance": 0.22582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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