#787BDE#787BDE

#787BDE is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.6% C 0.147 H 279.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#787BDE
RGBrgb(120, 123, 222)
HSLhsl(238, 61%, 67%)
HSVhsv(238, 46%, 87%)
CMYKcmyk(45.9%, 44.6%, 0%, 12.9%)
CIE-LABlab(55.51, 24.48, -51.06)
CIE-LCHlch(55.51, 56.62, 295.62°)
OKLaboklab(62.6% 0.0254 -0.1447)
OKLCHoklch(62.6% 0.147 279.9)
XYZxyz(28.0095, 23.4315, 72.1399)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787BDE #DEDB78
analogous
#78AEDE #787BDE #A878DE
triadic
#787BDE #DE787B #7BDE78
tetradic
#787BDE #DE78AE #DEDB78 #78DEA8
square
#787BDE #DE78AE #DEDB78 #78DEA8
split-complementary
#787BDE #DEA878 #AEDE78
monochromatic
#2B2FB0 #474BD2 #787BDE #A9ABEA #DADBF6

Accessibility & contrast

On white

3.69
#787BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#787BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787BDE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787BDE#FFFFFF#000000##000000
##787BDE1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E2
Deuteranopia (green-blind)
#4C81DC
Tritanopia (blue-blind)
#5590A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #787bde;
/* rgb */ color: rgb(120, 123, 222);
/* oklch */ color: oklch(62.6% 0.147 279.9);
Tailwind
colors: {
  custom: {
    50: '#a4a1e9',
    500: '#787bde',
    950: '#000000',
  },
}
SCSS
$custom: #787bde;
$custom-light: #a4a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#787bde",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 222
  },
  "hsl": {
    "h": 238.235,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62597,
    "c": 0.1469,
    "h": 279.9
  },
  "luminance": 0.23433
}

Semantic roles & 50–950 ramp

primary
#787BDE
secondary
#E9E8C9
accent
#C31DC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #787BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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