#787ADD#787ADD

#787ADD is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.3% C 0.147 H 280.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#787ADD
RGBrgb(120, 122, 221)
HSLhsl(239, 60%, 67%)
HSVhsv(239, 46%, 87%)
CMYKcmyk(45.7%, 44.8%, 0%, 13.3%)
CIE-LABlab(55.21, 24.78, -50.98)
CIE-LCHlch(55.21, 56.69, 295.92°)
OKLaboklab(62.35% 0.0264 -0.1445)
OKLCHoklch(62.35% 0.147 280.4)
XYZxyz(27.7525, 23.1312, 71.3950)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787ADD #DDDB78
analogous
#78ADDD #787ADD #A978DD
triadic
#787ADD #DD787A #7ADD78
tetradic
#787ADD #DD78AD #DDDB78 #78DDA9
square
#787ADD #DD78AD #DDDB78 #78DDA9
split-complementary
#787ADD #DDA978 #ADDD78
monochromatic
#2C2FAF #474AD1 #787ADD #A9AAE9 #DADAF6

Accessibility & contrast

On white

3.73
#787ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#787ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787ADD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787ADD#FFFFFF#000000##000000
##787ADD1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E1
Deuteranopia (green-blind)
#4C81DB
Tritanopia (blue-blind)
#558FA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #787add;
/* rgb */ color: rgb(120, 122, 221);
/* oklch */ color: oklch(62.3% 0.147 280.4);
Tailwind
colors: {
  custom: {
    50: '#a4a0e8',
    500: '#787add',
    950: '#000000',
  },
}
SCSS
$custom: #787add;
$custom-light: #a4a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#787add",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 221
  },
  "hsl": {
    "h": 238.812,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62347,
    "c": 0.14688,
    "h": 280.4
  },
  "luminance": 0.23133
}

Semantic roles & 50–950 ramp

primary
#787ADD
secondary
#E9E8C8
accent
#C41EC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #787ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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