#786FFC#786FFC

#786FFC is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.4% C 0.203 H 281.6°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#786FFC
RGBrgb(120, 111, 252)
HSLhsl(244, 96%, 71%)
HSVhsv(244, 56%, 99%)
CMYKcmyk(52.4%, 56%, 0%, 1.2%)
CIE-LABlab(54.44, 40.55, -69.51)
CIE-LCHlch(54.44, 80.47, 300.26°)
OKLaboklab(62.37% 0.0409 -0.199)
OKLCHoklch(62.37% 0.203 281.6)
XYZxyz(30.9955, 22.3884, 94.7647)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FFC #F3FC6F
analogous
#6FACFC #786FFC #BE6FFC
triadic
#786FFC #FC786F #6FFC78
tetradic
#786FFC #FC6FAC #F3FC6F #6FFCBE
square
#786FFC #FC6FAC #F3FC6F #6FFCBE
split-complementary
#786FFC #FCBE6F #ACFC6F
monochromatic
#1405EC #4033FB #786FFC #B0ABFD #E3E1FE

Accessibility & contrast

On white

3.83
#786FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#786FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FFC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FFC#FFFFFF#000000##000000
##786FFC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786ffc;
/* rgb */ color: rgb(120, 111, 252);
/* oklch */ color: oklch(62.4% 0.203 281.6);
Tailwind
colors: {
  custom: {
    50: '#a898fe',
    500: '#786ffc',
    950: '#000000',
  },
}
SCSS
$custom: #786ffc;
$custom-light: #a898fe;
$custom-dark: #000000;
JSON
{
  "hex": "#786ffc",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 243.83,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.20315,
    "h": 281.6
  },
  "luminance": 0.2239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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