#7A8AFA#7A8AFA

#7A8AFA is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.3% C 0.165 H 274.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7A8AFA
RGBrgb(122, 138, 250)
HSLhsl(233, 93%, 73%)
HSVhsv(233, 51%, 98%)
CMYKcmyk(51.2%, 44.8%, 0%, 2%)
CIE-LABlab(60.97, 24.43, -57.90)
CIE-LCHlch(60.97, 62.84, 292.88°)
OKLaboklab(67.28% 0.0142 -0.1646)
OKLCHoklch(67.28% 0.165 274.9)
XYZxyz(34.3644, 29.2145, 94.2521)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8AFA #FAEA7A
analogous
#7ACAFA #7A8AFA #AA7AFA
triadic
#7A8AFA #FA7A8A #8AFA7A
tetradic
#7A8AFA #FA7ACA #FAEA7A #7AFAAA
square
#7A8AFA #FA7ACA #FAEA7A #7AFAAA
split-complementary
#7A8AFA #FAAA7A #CAFA7A
monochromatic
#0926F1 #3F56F8 #7A8AFA #B5BEFC #E2E5FE

Accessibility & contrast

On white

3.07
#7A8AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#7A8AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8AFA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8AFA#FFFFFF#000000##000000
##7A8AFA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FE
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#42A2B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a8afa;
/* rgb */ color: rgb(122, 138, 250);
/* oklch */ color: oklch(67.3% 0.165 274.9);
Tailwind
colors: {
  custom: {
    50: '#a8abfc',
    500: '#7a8afa',
    950: '#000000',
  },
}
SCSS
$custom: #7a8afa;
$custom-light: #a8abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8afa",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 232.5,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67277,
    "c": 0.16522,
    "h": 274.9
  },
  "luminance": 0.29217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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