#7A8CF5#7A8CF5

#7A8CF5 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.4% C 0.156 H 274.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7A8CF5
RGBrgb(122, 140, 245)
HSLhsl(231, 86%, 72%)
HSVhsv(231, 50%, 96%)
CMYKcmyk(50.2%, 42.9%, 0%, 3.9%)
CIE-LABlab(61.21, 21.73, -54.77)
CIE-LCHlch(61.21, 58.93, 291.64°)
OKLaboklab(67.37% 0.0113 -0.1554)
OKLCHoklch(67.37% 0.156 274.1)
XYZxyz(33.8803, 29.4842, 90.2742)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8CF5 #F5E37A
analogous
#7AC9F5 #7A8CF5 #A67AF5
triadic
#7A8CF5 #F57A8C #8CF57A
tetradic
#7A8CF5 #F57AC9 #F5E37A #7AF5A6
square
#7A8CF5 #F57AC9 #F5E37A #7AF5A6
split-complementary
#7A8CF5 #F5A67A #C9F57A
monochromatic
#1130E3 #415BF1 #7A8CF5 #B3BDF9 #E3E6FD

Accessibility & contrast

On white

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

On black

6.90
#7A8CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8CF5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8CF5#FFFFFF#000000##000000
##7A8CF51.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#46A2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7a8cf5;
/* rgb */ color: rgb(122, 140, 245);
/* oklch */ color: oklch(67.4% 0.156 274.1);
Tailwind
colors: {
  custom: {
    50: '#a7adf9',
    500: '#7a8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7a8cf5;
$custom-light: #a7adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8cf5",
  "rgb": {
    "r": 122,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 231.22,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6737,
    "c": 0.15584,
    "h": 274.1
  },
  "luminance": 0.29486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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