#7A8FF5#7A8FF5

#7A8FF5 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.0% C 0.152 H 273.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7A8FF5
RGBrgb(122, 143, 245)
HSLhsl(230, 86%, 72%)
HSVhsv(230, 50%, 96%)
CMYKcmyk(50.2%, 41.6%, 0%, 3.9%)
CIE-LABlab(61.97, 19.96, -53.55)
CIE-LCHlch(61.97, 57.15, 290.45°)
OKLaboklab(67.96% 0.0079 -0.1518)
OKLCHoklch(67.96% 0.152 273)
XYZxyz(34.3247, 30.3729, 90.4223)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8FF5 #F5E07A
analogous
#7ACDF5 #7A8FF5 #A37AF5
triadic
#7A8FF5 #F57A8F #8FF57A
tetradic
#7A8FF5 #F57ACD #F5E07A #7AF5A3
square
#7A8FF5 #F57ACD #F5E07A #7AF5A3
split-complementary
#7A8FF5 #F5A37A #CDF57A
monochromatic
#1135E3 #415FF1 #7A8FF5 #B3BFF9 #E3E7FD

Accessibility & contrast

On white

2.97
#7A8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#7A8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8FF5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8FF5#FFFFFF#000000##000000
##7A8FF51.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF9
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#45A5B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7a8ff5;
/* rgb */ color: rgb(122, 143, 245);
/* oklch */ color: oklch(68.0% 0.152 273.0);
Tailwind
colors: {
  custom: {
    50: '#a7aff9',
    500: '#7a8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ff5;
$custom-light: #a7aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ff5",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 229.756,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67957,
    "c": 0.15203,
    "h": 273
  },
  "luminance": 0.30375
}

Semantic roles & 50–950 ramp

primary
#7A8FF5
secondary
#F5F0D6
accent
#BC03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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