#787BEA#787BEA

#787BEA is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.3% C 0.163 H 279.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#787BEA
RGBrgb(120, 123, 234)
HSLhsl(238, 73%, 69%)
HSVhsv(238, 49%, 92%)
CMYKcmyk(48.7%, 47.4%, 0%, 8.2%)
CIE-LABlab(56.19, 28.05, -56.70)
CIE-LCHlch(56.19, 63.26, 296.33°)
OKLaboklab(63.32% 0.0269 -0.1612)
OKLCHoklch(63.32% 0.163 279.5)
XYZxyz(29.6754, 24.0979, 80.9136)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BEA #EAE778
analogous
#78B4EA #787BEA #AE78EA
triadic
#787BEA #EA787B #7BEA78
tetradic
#787BEA #EA78B4 #EAE778 #78EAAE
square
#787BEA #EA78B4 #EAE778 #78EAAE
split-complementary
#787BEA #EAAE78 #B4EA78
monochromatic
#1F24C8 #4347E2 #787BEA #ADAFF2 #E2E3FA

Accessibility & contrast

On white

3.61
#787BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#787BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BEA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BEA#FFFFFF#000000##000000
##787BEA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BEE
Deuteranopia (green-blind)
#4082E8
Tritanopia (blue-blind)
#4D93A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #787bea;
/* rgb */ color: rgb(120, 123, 234);
/* oklch */ color: oklch(63.3% 0.163 279.5);
Tailwind
colors: {
  custom: {
    50: '#a6a1f1',
    500: '#787bea',
    950: '#000000',
  },
}
SCSS
$custom: #787bea;
$custom-light: #a6a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#787bea",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 238.421,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63323,
    "c": 0.16347,
    "h": 279.5
  },
  "luminance": 0.241
}

Semantic roles & 50–950 ramp

primary
#787BEA
secondary
#EFEECE
accent
#D010D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #787BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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