#7B7BF6#7B7BF6

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

Color values

HEX#7B7BF6
RGBrgb(123, 123, 246)
HSLhsl(240, 87%, 72%)
HSVhsv(240, 50%, 96%)
CMYKcmyk(50%, 50%, 0%, 3.5%)
CIE-LABlab(57.10, 32.30, -61.88)
CIE-LCHlch(57.10, 69.80, 297.56°)
OKLaboklab(64.3% 0.0314 -0.1764)
OKLCHoklch(64.3% 0.179 280.1)
XYZxyz(31.8808, 25.0289, 90.3221)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7BF6 #F6F67B
analogous
#7BB9F6 #7B7BF6 #B97BF6
triadic
#7B7BF6 #F67B7B #7BF67B
tetradic
#7B7BF6 #F67BB9 #F6F67B #7BF6B9
square
#7B7BF6 #F67BB9 #F6F67B #7BF6B9
split-complementary
#7B7BF6 #F6B97B #B9F67B
monochromatic
#1010E7 #4242F2 #7B7BF6 #B4B4FA #E2E2FD

Accessibility & contrast

On white

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

On black

6.01
#7B7BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7BF6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7BF6#FFFFFF#000000##000000
##7B7BF61.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#3384F3
Tritanopia (blue-blind)
#4A96AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b7bf6;
/* rgb */ color: rgb(123, 123, 246);
/* oklch */ color: oklch(64.3% 0.179 280.1);
Tailwind
colors: {
  custom: {
    50: '#a9a1fa',
    500: '#7b7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7b7bf6;
$custom-light: #a9a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7bf6",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 240,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.64296,
    "c": 0.17917,
    "h": 280.1
  },
  "luminance": 0.25031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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