#787DFF#787DFF

#787DFF is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.0% C 0.189 H 278.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#787DFF
RGBrgb(120, 125, 255)
HSLhsl(238, 100%, 74%)
HSVhsv(238, 53%, 100%)
CMYKcmyk(52.9%, 51%, 0%, 0%)
CIE-LABlab(57.92, 33.23, -65.54)
CIE-LCHlch(57.92, 73.49, 296.89°)
OKLaboklab(65.03% 0.0266 -0.1872)
OKLCHoklch(65.03% 0.189 278.1)
XYZxyz(33.1237, 25.8782, 97.8379)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787DFF #FFFA78
analogous
#78C0FF #787DFF #B678FF
triadic
#787DFF #FF787D #7DFF78
tetradic
#787DFF #FF78C0 #FFFA78 #78FFB6
square
#787DFF #FF78C0 #FFFA78 #78FFB6
split-complementary
#787DFF #FFB678 #C0FF78
monochromatic
#0009FD #3B42FF #787DFF #B5B8FF #E0E2FF

Accessibility & contrast

On white

3.40
#787DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#787DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787DFF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787DFF#FFFFFF#000000##000000
##787DFF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3891FF
Deuteranopia (green-blind)
#2486FC
Tritanopia (blue-blind)
#399AB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #787dff;
/* rgb */ color: rgb(120, 125, 255);
/* oklch */ color: oklch(65.0% 0.189 278.1);
Tailwind
colors: {
  custom: {
    50: '#a8a2ff',
    500: '#787dff',
    950: '#000000',
  },
}
SCSS
$custom: #787dff;
$custom-light: #a8a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#787dff",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 237.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65032,
    "c": 0.18911,
    "h": 278.1
  },
  "luminance": 0.2588
}

Semantic roles & 50–950 ramp

primary
#787DFF
secondary
#F7F6D4
accent
#DD00E6
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #787DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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