#787FF1#787FF1

#787FF1 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.5% C 0.168 H 277.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#787FF1
RGBrgb(120, 127, 241)
HSLhsl(237, 81%, 71%)
HSVhsv(237, 50%, 95%)
CMYKcmyk(50.2%, 47.3%, 0%, 5.5%)
CIE-LABlab(57.58, 27.79, -58.36)
CIE-LCHlch(57.58, 64.64, 295.46°)
OKLaboklab(64.51% 0.0232 -0.1661)
OKLCHoklch(64.51% 0.168 277.9)
XYZxyz(31.2073, 25.5208, 86.4836)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FF1 #F1EA78
analogous
#78BBF1 #787FF1 #AD78F1
triadic
#787FF1 #F1787F #7FF178
tetradic
#787FF1 #F178BB #F1EA78 #78F1AD
square
#787FF1 #F178BB #F1EA78 #78F1AD
split-complementary
#787FF1 #F1AD78 #BBF178
monochromatic
#1622D8 #414AEB #787FF1 #AFB4F7 #E3E5FC

Accessibility & contrast

On white

3.44
#787FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#787FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FF1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FF1#FFFFFF#000000##000000
##787FF11.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8FF5
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#4798AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #787ff1;
/* rgb */ color: rgb(120, 127, 241);
/* oklch */ color: oklch(64.5% 0.168 277.9);
Tailwind
colors: {
  custom: {
    50: '#a6a4f6',
    500: '#787ff1',
    950: '#000000',
  },
}
SCSS
$custom: #787ff1;
$custom-light: #a6a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#787ff1",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 236.529,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64507,
    "c": 0.1677,
    "h": 277.9
  },
  "luminance": 0.25523
}

Semantic roles & 50–950 ramp

primary
#787FF1
secondary
#F3F1D2
accent
#D108DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #787FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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