#7A7BF8#7A7BF8

#7A7BF8 is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.4% C 0.182 H 279.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7A7BF8
RGBrgb(122, 123, 248)
HSLhsl(240, 90%, 73%)
HSVhsv(240, 51%, 97%)
CMYKcmyk(50.8%, 50.4%, 0%, 2.7%)
CIE-LABlab(57.15, 32.69, -62.91)
CIE-LCHlch(57.15, 70.90, 297.46°)
OKLaboklab(64.35% 0.0305 -0.1794)
OKLCHoklch(64.35% 0.182 279.6)
XYZxyz(32.0470, 25.0789, 91.9408)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7BF8 #F8F77A
analogous
#7ABAF8 #7A7BF8 #B87AF8
triadic
#7A7BF8 #F87A7B #7BF87A
tetradic
#7A7BF8 #F87ABA #F8F77A #7AF8B8
square
#7A7BF8 #F87ABA #F8F77A #7AF8B8
split-complementary
#7A7BF8 #F8B87A #BAF87A
monochromatic
#0C0EEB #4041F5 #7A7BF8 #B4B5FB #E2E2FD

Accessibility & contrast

On white

3.49
#7A7BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7A7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7BF8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7BF8#FFFFFF#000000##000000
##7A7BF81.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFC
Deuteranopia (green-blind)
#2F84F5
Tritanopia (blue-blind)
#4697AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a7bf8;
/* rgb */ color: rgb(122, 123, 248);
/* oklch */ color: oklch(64.4% 0.182 279.6);
Tailwind
colors: {
  custom: {
    50: '#a8a1fb',
    500: '#7a7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #7a7bf8;
$custom-light: #a8a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7bf8",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 239.524,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64353,
    "c": 0.18202,
    "h": 279.6
  },
  "luminance": 0.25081
}

Semantic roles & 50–950 ramp

primary
#7A7BF8
secondary
#F6F5D5
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7A7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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