#7A8CF7#7A8CF7

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

Color values

HEX#7A8CF7
RGBrgb(122, 140, 247)
HSLhsl(231, 89%, 72%)
HSVhsv(231, 51%, 97%)
CMYKcmyk(50.6%, 43.3%, 0%, 3.1%)
CIE-LABlab(61.31, 22.34, -55.70)
CIE-LCHlch(61.31, 60.02, 291.85°)
OKLaboklab(67.49% 0.0116 -0.1582)
OKLCHoklch(67.49% 0.159 274.2)
XYZxyz(34.1873, 29.6070, 91.8909)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8CF7 #F7E57A
analogous
#7ACBF7 #7A8CF7 #A77AF7
triadic
#7A8CF7 #F77A8C #8CF77A
tetradic
#7A8CF7 #F77ACB #F7E57A #7AF7A7
square
#7A8CF7 #F77ACB #F7E57A #7AF7A7
split-complementary
#7A8CF7 #F7A77A #CBF77A
monochromatic
#0E2DE9 #405AF4 #7A8CF7 #B4BEFA #E2E6FD

Accessibility & contrast

On white

3.03
#7A8CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#7A8CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8CF7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8CF7#FFFFFF#000000##000000
##7A8CF71.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#44A3B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7a8cf7;
/* rgb */ color: rgb(122, 140, 247);
/* oklch */ color: oklch(67.5% 0.159 274.2);
Tailwind
colors: {
  custom: {
    50: '#a8adfa',
    500: '#7a8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #7a8cf7;
$custom-light: #a8adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8cf7",
  "rgb": {
    "r": 122,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 231.36,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67486,
    "c": 0.15857,
    "h": 274.2
  },
  "luminance": 0.29609
}

Semantic roles & 50–950 ramp

primary
#7A8CF7
secondary
#F5F1D6
accent
#C400E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7A8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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