#7B7AF9#7B7AF9

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

Color values

HEX#7B7AF9
RGBrgb(123, 122, 249)
HSLhsl(240, 91%, 73%)
HSVhsv(240, 51%, 98%)
CMYKcmyk(50.6%, 51%, 0%, 2.4%)
CIE-LABlab(57.04, 33.79, -63.64)
CIE-LCHlch(57.04, 72.05, 297.97°)
OKLaboklab(64.31% 0.0328 -0.1816)
OKLCHoklch(64.31% 0.184 280.2)
XYZxyz(32.2215, 24.9677, 92.7256)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7AF9 #F8F97A
analogous
#7AB9F9 #7B7AF9 #BA7AF9
triadic
#7B7AF9 #F97B7A #7AF97B
tetradic
#7B7AF9 #F97AB9 #F8F97A #7AF9BA
square
#7B7AF9 #F97AB9 #F8F97A #7AF9BA
split-complementary
#7B7AF9 #F9BA7A #B9F97A
monochromatic
#0D0BEE #413FF6 #7B7AF9 #B5B5FC #E2E2FE

Accessibility & contrast

On white

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

On black

5.99
#7B7AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7AF9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7AF9#FFFFFF#000000##000000
##7B7AF91.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFD
Deuteranopia (green-blind)
#2B84F6
Tritanopia (blue-blind)
#4896AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b7af9;
/* rgb */ color: rgb(123, 122, 249);
/* oklch */ color: oklch(64.3% 0.184 280.2);
Tailwind
colors: {
  custom: {
    50: '#a9a0fc',
    500: '#7b7af9',
    950: '#000000',
  },
}
SCSS
$custom: #7b7af9;
$custom-light: #a9a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7af9",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 240.472,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64309,
    "c": 0.18449,
    "h": 280.2
  },
  "luminance": 0.2497
}

Semantic roles & 50–950 ramp

primary
#7B7AF9
secondary
#F6F6D5
accent
#E600E4
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7B7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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