#7B7BF8#7B7BF8

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

Color values

HEX#7B7BF8
RGBrgb(123, 123, 248)
HSLhsl(240, 90%, 73%)
HSVhsv(240, 50%, 97%)
CMYKcmyk(50.4%, 50.4%, 0%, 2.7%)
CIE-LABlab(57.22, 32.90, -62.79)
CIE-LCHlch(57.22, 70.89, 297.65°)
OKLaboklab(64.43% 0.0316 -0.1791)
OKLCHoklch(64.43% 0.182 280)
XYZxyz(32.1894, 25.1523, 91.9475)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7BF8 #F8F87B
analogous
#7BB9F8 #7B7BF8 #B97BF8
triadic
#7B7BF8 #F87B7B #7BF87B
tetradic
#7B7BF8 #F87BB9 #F8F87B #7BF8B9
square
#7B7BF8 #F87BB9 #F8F87B #7BF8B9
split-complementary
#7B7BF8 #F8B97B #B9F87B
monochromatic
#0D0DEC #4141F5 #7B7BF8 #B5B5FB #E2E2FD

Accessibility & contrast

On white

3.48
#7B7BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7B7BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7BF8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7BF8#FFFFFF#000000##000000
##7B7BF81.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFC
Deuteranopia (green-blind)
#3085F5
Tritanopia (blue-blind)
#4897AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b7bf8;
/* rgb */ color: rgb(123, 123, 248);
/* oklch */ color: oklch(64.4% 0.182 280.0);
Tailwind
colors: {
  custom: {
    50: '#a9a1fb',
    500: '#7b7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #7b7bf8;
$custom-light: #a9a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7bf8",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64425,
    "c": 0.18185,
    "h": 280
  },
  "luminance": 0.25154
}

Semantic roles & 50–950 ramp

primary
#7B7BF8
secondary
#F6F6D5
accent
#E600E5
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7B7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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