#7A7AF4#7A7AF4

#7A7AF4 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.9% C 0.178 H 280.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7A7AF4
RGBrgb(122, 122, 244)
HSLhsl(240, 85%, 72%)
HSVhsv(240, 50%, 96%)
CMYKcmyk(50%, 50%, 0%, 4.3%)
CIE-LABlab(56.67, 32.08, -61.47)
CIE-LCHlch(56.67, 69.34, 297.56°)
OKLaboklab(63.91% 0.0313 -0.1752)
OKLCHoklch(63.91% 0.178 280.1)
XYZxyz(31.3097, 24.5865, 88.6663)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7AF4 #F4F47A
analogous
#7AB7F4 #7A7AF4 #B77AF4
triadic
#7A7AF4 #F47A7A #7AF47A
tetradic
#7A7AF4 #F47AB7 #F4F47A #7AF4B7
square
#7A7AF4 #F47AB7 #F4F47A #7AF4B7
split-complementary
#7A7AF4 #F4B77A #B7F47A
monochromatic
#1313E1 #4141EF #7A7AF4 #B3B3F9 #E3E3FD

Accessibility & contrast

On white

3.55
#7A7AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7A7AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7AF4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7AF4#FFFFFF#000000##000000
##7A7AF41.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8DF8
Deuteranopia (green-blind)
#3383F1
Tritanopia (blue-blind)
#4A95AC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a7af4;
/* rgb */ color: rgb(122, 122, 244);
/* oklch */ color: oklch(63.9% 0.178 280.1);
Tailwind
colors: {
  custom: {
    50: '#a8a0f8',
    500: '#7a7af4',
    950: '#000000',
  },
}
SCSS
$custom: #7a7af4;
$custom-light: #a8a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7af4",
  "rgb": {
    "r": 122,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 240,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63914,
    "c": 0.17798,
    "h": 280.1
  },
  "luminance": 0.24588
}

Semantic roles & 50–950 ramp

primary
#7A7AF4
secondary
#F4F4D5
accent
#E104E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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