#787BE0#787BE0

#787BE0 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.7% C 0.150 H 279.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#787BE0
RGBrgb(120, 123, 224)
HSLhsl(238, 63%, 67%)
HSVhsv(238, 46%, 88%)
CMYKcmyk(46.4%, 45.1%, 0%, 12.2%)
CIE-LABlab(55.62, 25.07, -52.00)
CIE-LCHlch(55.62, 57.73, 295.74°)
OKLaboklab(62.72% 0.0257 -0.1475)
OKLCHoklch(62.72% 0.15 279.9)
XYZxyz(28.2792, 23.5394, 73.5600)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BE0 #E0DD78
analogous
#78AFE0 #787BE0 #A978E0
triadic
#787BE0 #E0787B #7BE078
tetradic
#787BE0 #E078AF #E0DD78 #78E0A9
square
#787BE0 #E078AF #E0DD78 #78E0A9
split-complementary
#787BE0 #E0A978 #AFE078
monochromatic
#292DB4 #464AD5 #787BE0 #AAACEB #DCDCF7

Accessibility & contrast

On white

3.68
#787BE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#787BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BE0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BE0#FFFFFF#000000##000000
##787BE01.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E4
Deuteranopia (green-blind)
#4B81DE
Tritanopia (blue-blind)
#5390A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787be0;
/* rgb */ color: rgb(120, 123, 224);
/* oklch */ color: oklch(62.7% 0.150 279.9);
Tailwind
colors: {
  custom: {
    50: '#a4a1ea',
    500: '#787be0',
    950: '#000000',
  },
}
SCSS
$custom: #787be0;
$custom-light: #a4a1ea;
$custom-dark: #000000;
JSON
{
  "hex": "#787be0",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 224
  },
  "hsl": {
    "h": 238.269,
    "s": 62.651,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62716,
    "c": 0.14969,
    "h": 279.9
  },
  "luminance": 0.23541
}

Semantic roles & 50–950 ramp

primary
#787BE0
secondary
#EAE9CA
accent
#C51BCA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #787BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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