#7A7BF5#7A7BF5

#7A7BF5 is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.2% C 0.178 H 279.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7A7BF5
RGBrgb(122, 123, 245)
HSLhsl(240, 86%, 72%)
HSVhsv(240, 50%, 96%)
CMYKcmyk(50.2%, 49.8%, 0%, 3.9%)
CIE-LABlab(56.97, 31.79, -61.54)
CIE-LCHlch(56.97, 69.27, 297.32°)
OKLaboklab(64.16% 0.0302 -0.1754)
OKLCHoklch(64.16% 0.178 279.8)
XYZxyz(31.5853, 24.8943, 89.5092)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7BF5 #F5F47A
analogous
#7AB9F5 #7A7BF5 #B77AF5
triadic
#7A7BF5 #F57A7B #7BF57A
tetradic
#7A7BF5 #F57AB9 #F5F47A #7AF5B7
square
#7A7BF5 #F57AB9 #F5F47A #7AF5B7
split-complementary
#7A7BF5 #F5B77A #B9F57A
monochromatic
#1113E3 #4143F1 #7A7BF5 #B3B3F9 #E3E3FD

Accessibility & contrast

On white

3.51
#7A7BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7A7BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7BF5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7BF5#FFFFFF#000000##000000
##7A7BF51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#3484F2
Tritanopia (blue-blind)
#4996AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a7bf5;
/* rgb */ color: rgb(122, 123, 245);
/* oklch */ color: oklch(64.2% 0.178 279.8);
Tailwind
colors: {
  custom: {
    50: '#a8a1f9',
    500: '#7a7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7a7bf5;
$custom-light: #a8a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7bf5",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 239.512,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6416,
    "c": 0.17801,
    "h": 279.8
  },
  "luminance": 0.24896
}

Semantic roles & 50–950 ramp

primary
#7A7BF5
secondary
#F5F5D6
accent
#E103E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7A7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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