#787FF3#787FF3

#787FF3 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.6% C 0.170 H 277.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#787FF3
RGBrgb(120, 127, 243)
HSLhsl(237, 84%, 71%)
HSVhsv(237, 51%, 95%)
CMYKcmyk(50.6%, 47.7%, 0%, 4.7%)
CIE-LABlab(57.69, 28.39, -59.28)
CIE-LCHlch(57.69, 65.73, 295.59°)
OKLaboklab(64.63% 0.0234 -0.1688)
OKLCHoklch(64.63% 0.17 277.9)
XYZxyz(31.5077, 25.6410, 88.0656)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FF3 #F3EC78
analogous
#78BCF3 #787FF3 #AE78F3
triadic
#787FF3 #F3787F #7FF378
tetradic
#787FF3 #F378BC #F3EC78 #78F3AE
square
#787FF3 #F378BC #F3EC78 #78F3AE
split-complementary
#787FF3 #F3AE78 #BCF378
monochromatic
#141FDD #404AEE #787FF3 #B0B4F8 #E3E4FD

Accessibility & contrast

On white

3.43
#787FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#787FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FF3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FF3#FFFFFF#000000##000000
##787FF31.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A90F7
Deuteranopia (green-blind)
#3D86F0
Tritanopia (blue-blind)
#4598AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #787ff3;
/* rgb */ color: rgb(120, 127, 243);
/* oklch */ color: oklch(64.6% 0.170 277.9);
Tailwind
colors: {
  custom: {
    50: '#a6a4f8',
    500: '#787ff3',
    950: '#000000',
  },
}
SCSS
$custom: #787ff3;
$custom-light: #a6a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#787ff3",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 236.585,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64631,
    "c": 0.17041,
    "h": 277.9
  },
  "luminance": 0.25643
}

Semantic roles & 50–950 ramp

primary
#787FF3
secondary
#F4F2D3
accent
#D405E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #787FF3

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

Preview Lab → · Contrast checker → · Palette generator →

#787FF3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva