#787BF3#787BF3

#787BF3 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.9% C 0.176 H 279.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#787BF3
RGBrgb(120, 123, 243)
HSLhsl(239, 84%, 71%)
HSVhsv(239, 51%, 95%)
CMYKcmyk(50.6%, 49.4%, 0%, 4.7%)
CIE-LABlab(56.71, 30.77, -60.86)
CIE-LCHlch(56.71, 68.19, 296.82°)
OKLaboklab(63.89% 0.0278 -0.1735)
OKLCHoklch(63.89% 0.176 279.1)
XYZxyz(31.0013, 24.6282, 87.8968)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BF3 #F3F078
analogous
#78B8F3 #787BF3 #B278F3
triadic
#787BF3 #F3787B #7BF378
tetradic
#787BF3 #F378B8 #F3F078 #78F3B2
square
#787BF3 #F378B8 #F3F078 #78F3B2
split-complementary
#787BF3 #F3B278 #B8F378
monochromatic
#1419DD #4044EE #787BF3 #B0B2F8 #E3E4FD

Accessibility & contrast

On white

3.54
#787BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#787BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BF3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BF3#FFFFFF#000000##000000
##787BF31.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF7
Deuteranopia (green-blind)
#3583F0
Tritanopia (blue-blind)
#4695AC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #787bf3;
/* rgb */ color: rgb(120, 123, 243);
/* oklch */ color: oklch(63.9% 0.176 279.1);
Tailwind
colors: {
  custom: {
    50: '#a7a1f8',
    500: '#787bf3',
    950: '#000000',
  },
}
SCSS
$custom: #787bf3;
$custom-light: #a7a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#787bf3",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 238.537,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63889,
    "c": 0.17569,
    "h": 279.1
  },
  "luminance": 0.2463
}

Semantic roles & 50–950 ramp

primary
#787BF3
secondary
#F4F3D3
accent
#DB05E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #787BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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