#7A8AEB#7A8AEB

#7A8AEB is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.4% C 0.145 H 274.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7A8AEB
RGBrgb(122, 138, 235)
HSLhsl(232, 74%, 70%)
HSVhsv(232, 48%, 92%)
CMYKcmyk(48.1%, 41.3%, 0%, 7.8%)
CIE-LABlab(60.17, 19.90, -50.90)
CIE-LCHlch(60.17, 54.65, 291.36°)
OKLaboklab(66.41% 0.0119 -0.1441)
OKLCHoklch(66.41% 0.145 274.7)
XYZxyz(32.1052, 28.3108, 82.3540)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8AEB #EBDB7A
analogous
#7AC3EB #7A8AEB #A27AEB
triadic
#7A8AEB #EB7A8A #8AEB7A
tetradic
#7A8AEB #EB7AC3 #EBDB7A #7AEBA2
square
#7A8AEB #EB7AC3 #EBDB7A #7AEBA2
split-complementary
#7A8AEB #EBA27A #C3EB7A
monochromatic
#1F37CC #455BE3 #7A8AEB #AFB9F3 #E4E8FB

Accessibility & contrast

On white

3.15
#7A8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7A8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8AEB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8AEB#FFFFFF#000000##000000
##7A8AEB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#598DE9
Tritanopia (blue-blind)
#4E9EAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a8aeb;
/* rgb */ color: rgb(122, 138, 235);
/* oklch */ color: oklch(66.4% 0.145 274.7);
Tailwind
colors: {
  custom: {
    50: '#a6abf2',
    500: '#7a8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7a8aeb;
$custom-light: #a6abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8aeb",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 231.504,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.66405,
    "c": 0.14459,
    "h": 274.7
  },
  "luminance": 0.28313
}

Semantic roles & 50–950 ramp

primary
#7A8AEB
secondary
#F0ECD1
accent
#BA10D6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

#7A8AEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva