#786FFD#786FFD

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

Color values

HEX#786FFD
RGBrgb(120, 111, 253)
HSLhsl(244, 97%, 71%)
HSVhsv(244, 56%, 99%)
CMYKcmyk(52.6%, 56.1%, 0%, 0.8%)
CIE-LABlab(54.50, 40.85, -69.96)
CIE-LCHlch(54.50, 81.01, 300.28°)
OKLaboklab(62.44% 0.0409 -0.2003)
OKLCHoklch(62.44% 0.204 281.5)
XYZxyz(31.1543, 22.4520, 95.6015)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FFD #F4FD6F
analogous
#6FADFD #786FFD #BF6FFD
triadic
#786FFD #FD786F #6FFD78
tetradic
#786FFD #FD6FAD #F4FD6F #6FFDBF
square
#786FFD #FD6FAD #F4FD6F #6FFDBF
split-complementary
#786FFD #FDBF6F #ADFD6F
monochromatic
#1203EE #3F33FC #786FFD #B1ABFE #E3E1FF

Accessibility & contrast

On white

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

On black

5.49
#786FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FFD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FFD#FFFFFF#000000##000000
##786FFD1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786ffd;
/* rgb */ color: rgb(120, 111, 253);
/* oklch */ color: oklch(62.4% 0.204 281.5);
Tailwind
colors: {
  custom: {
    50: '#a898ff',
    500: '#786ffd',
    950: '#000000',
  },
}
SCSS
$custom: #786ffd;
$custom-light: #a898ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786ffd",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 253
  },
  "hsl": {
    "h": 243.803,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.62441,
    "c": 0.20444,
    "h": 281.5
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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