#7A7BF7#7A7BF7

#7A7BF7 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.3% C 0.181 H 279.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7A7BF7
RGBrgb(122, 123, 247)
HSLhsl(240, 89%, 72%)
HSVhsv(240, 51%, 97%)
CMYKcmyk(50.6%, 50.2%, 0%, 3.1%)
CIE-LABlab(57.09, 32.39, -62.46)
CIE-LCHlch(57.09, 70.36, 297.41°)
OKLaboklab(64.29% 0.0304 -0.1781)
OKLCHoklch(64.29% 0.181 279.7)
XYZxyz(31.8923, 25.0170, 91.1259)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7BF7 #F7F67A
analogous
#7ABAF7 #7A7BF7 #B87AF7
triadic
#7A7BF7 #F77A7B #7BF77A
tetradic
#7A7BF7 #F77ABA #F7F67A #7AF7B8
square
#7A7BF7 #F77ABA #F7F67A #7AF7B8
split-complementary
#7A7BF7 #F7B87A #BAF77A
monochromatic
#0E10E9 #4042F4 #7A7BF7 #B4B4FA #E2E2FD

Accessibility & contrast

On white

3.50
#7A7BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#7A7BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7BF7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7BF7#FFFFFF#000000##000000
##7A7BF71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#3084F4
Tritanopia (blue-blind)
#4796AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a7bf7;
/* rgb */ color: rgb(122, 123, 247);
/* oklch */ color: oklch(64.3% 0.181 279.7);
Tailwind
colors: {
  custom: {
    50: '#a8a1fa',
    500: '#7a7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7a7bf7;
$custom-light: #a8a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7bf7",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 239.52,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64288,
    "c": 0.18068,
    "h": 279.7
  },
  "luminance": 0.25019
}

Semantic roles & 50–950 ramp

primary
#7A7BF7
secondary
#F5F5D6
accent
#E300E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7A7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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