#787BFA#787BFA

#787BFA is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.3% C 0.185 H 278.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#787BFA
RGBrgb(120, 123, 250)
HSLhsl(239, 93%, 73%)
HSVhsv(239, 52%, 98%)
CMYKcmyk(52%, 50.8%, 0%, 2%)
CIE-LABlab(57.13, 32.89, -64.06)
CIE-LCHlch(57.13, 72.01, 297.18°)
OKLaboklab(64.34% 0.0284 -0.1829)
OKLCHoklch(64.34% 0.185 278.8)
XYZxyz(32.0786, 25.0591, 93.5705)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BFA #FAF778
analogous
#78BCFA #787BFA #B678FA
triadic
#787BFA #FA787B #7BFA78
tetradic
#787BFA #FA78BC #FAF778 #78FAB6
square
#787BFA #FA78BC #FAF778 #78FAB6
split-complementary
#787BFA #FAB678 #BCFA78
monochromatic
#090EEF #3D41F8 #787BFA #B3B5FC #E1E2FE

Accessibility & contrast

On white

3.49
#787BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#787BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BFA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BFA#FFFFFF#000000##000000
##787BFA1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#2884F7
Tritanopia (blue-blind)
#3F97AF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787bfa;
/* rgb */ color: rgb(120, 123, 250);
/* oklch */ color: oklch(64.3% 0.185 278.8);
Tailwind
colors: {
  custom: {
    50: '#a7a1fd',
    500: '#787bfa',
    950: '#000000',
  },
}
SCSS
$custom: #787bfa;
$custom-light: #a7a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#787bfa",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 238.615,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.18505,
    "h": 278.8
  },
  "luminance": 0.25061
}

Semantic roles & 50–950 ramp

primary
#787BFA
secondary
#F6F5D5
accent
#E000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F18
muted
#7F7E86

Preview Lab

Preview with #787BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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