#787FE6#787FE6

#787FE6 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.8% C 0.153 H 278.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#787FE6
RGBrgb(120, 127, 230)
HSLhsl(236, 69%, 69%)
HSVhsv(236, 48%, 90%)
CMYKcmyk(47.8%, 44.8%, 0%, 9.8%)
CIE-LABlab(56.96, 24.47, -53.23)
CIE-LCHlch(56.96, 58.58, 294.69°)
OKLaboklab(63.84% 0.0218 -0.151)
OKLCHoklch(63.84% 0.153 278.2)
XYZxyz(29.6136, 24.8834, 78.0901)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FE6 #E6DF78
analogous
#78B6E6 #787FE6 #A878E6
triadic
#787FE6 #E6787F #7FE678
tetradic
#787FE6 #E678B6 #E6DF78 #78E6A8
square
#787FE6 #E678B6 #E6DF78 #78E6A8
split-complementary
#787FE6 #E6A878 #B6E678
monochromatic
#242EC0 #444EDC #787FE6 #ACB0F0 #DFE1F9

Accessibility & contrast

On white

3.51
#787FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#787FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FE6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FE6#FFFFFF#000000##000000
##787FE61.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#558DEA
Deuteranopia (green-blind)
#4B85E4
Tritanopia (blue-blind)
#4F95A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #787fe6;
/* rgb */ color: rgb(120, 127, 230);
/* oklch */ color: oklch(63.8% 0.153 278.2);
Tailwind
colors: {
  custom: {
    50: '#a5a4ee',
    500: '#787fe6',
    950: '#000000',
  },
}
SCSS
$custom: #787fe6;
$custom-light: #a5a4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#787fe6",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 236.182,
    "s": 68.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63839,
    "c": 0.15259,
    "h": 278.2
  },
  "luminance": 0.24885
}

Semantic roles & 50–950 ramp

primary
#787FE6
secondary
#EDEBCC
accent
#C515D1
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #787FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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