#7B8AEB#7B8AEB

#7B8AEB is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.5% C 0.144 H 275.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7B8AEB
RGBrgb(123, 138, 235)
HSLhsl(232, 74%, 70%)
HSVhsv(232, 48%, 92%)
CMYKcmyk(47.7%, 41.3%, 0%, 7.8%)
CIE-LABlab(60.23, 20.13, -50.79)
CIE-LCHlch(60.23, 54.64, 291.62°)
OKLaboklab(66.47% 0.0129 -0.1438)
OKLCHoklch(66.47% 0.144 275.1)
XYZxyz(32.2476, 28.3842, 82.3606)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8AEB #EBDC7B
analogous
#7BC2EB #7B8AEB #A47BEB
triadic
#7B8AEB #EB7B8A #8AEB7B
tetradic
#7B8AEB #EB7BC2 #EBDC7B #7BEBA4
square
#7B8AEB #EB7BC2 #EBDC7B #7BEBA4
split-complementary
#7B8AEB #EBA47B #C2EB7B
monochromatic
#1F36CD #465BE3 #7B8AEB #B0B9F3 #E4E7FB

Accessibility & contrast

On white

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

On black

6.68
#7B8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8AEB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8AEB#FFFFFF#000000##000000
##7B8AEB1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#509EAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b8aeb;
/* rgb */ color: rgb(123, 138, 235);
/* oklch */ color: oklch(66.5% 0.144 275.1);
Tailwind
colors: {
  custom: {
    50: '#a7abf2',
    500: '#7b8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7b8aeb;
$custom-light: #a7abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8aeb",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 231.964,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66472,
    "c": 0.14434,
    "h": 275.1
  },
  "luminance": 0.28386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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