#7A8BFB#7A8BFB

#7A8BFB is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.5% C 0.165 H 274.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7A8BFB
RGBrgb(122, 139, 251)
HSLhsl(232, 94%, 73%)
HSVhsv(232, 51%, 98%)
CMYKcmyk(51.4%, 44.6%, 0%, 1.6%)
CIE-LABlab(61.28, 24.14, -57.96)
CIE-LCHlch(61.28, 62.79, 292.62°)
OKLaboklab(67.53% 0.0133 -0.1648)
OKLCHoklch(67.53% 0.165 274.6)
XYZxyz(34.6657, 29.5656, 95.1281)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8BFB #FBEA7A
analogous
#7ACBFB #7A8BFB #A97AFB
triadic
#7A8BFB #FB7A8B #8BFB7A
tetradic
#7A8BFB #FB7ACB #FBEA7A #7AFBA9
square
#7A8BFB #FB7ACB #FBEA7A #7AFBA9
split-complementary
#7A8BFB #FBA97A #CBFB7A
monochromatic
#0726F3 #3F57F9 #7A8BFB #B5BFFD #E1E5FE

Accessibility & contrast

On white

3.04
#7A8BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7A8BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8BFB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8BFB#FFFFFF#000000##000000
##7A8BFB1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#4D8FF9
Tritanopia (blue-blind)
#41A3B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7a8bfb;
/* rgb */ color: rgb(122, 139, 251);
/* oklch */ color: oklch(67.5% 0.165 274.6);
Tailwind
colors: {
  custom: {
    50: '#a8acfd',
    500: '#7a8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #7a8bfb;
$custom-light: #a8acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8bfb",
  "rgb": {
    "r": 122,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 232.093,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.16531,
    "h": 274.6
  },
  "luminance": 0.29568
}

Semantic roles & 50–950 ramp

primary
#7A8BFB
secondary
#F6F2D5
accent
#C700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7A8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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