#7B7BF2#7B7BF2

#7B7BF2 is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.0% C 0.174 H 280.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7B7BF2
RGBrgb(123, 123, 242)
HSLhsl(240, 82%, 72%)
HSVhsv(240, 49%, 95%)
CMYKcmyk(49.2%, 49.2%, 0%, 5.1%)
CIE-LABlab(56.87, 31.10, -60.04)
CIE-LCHlch(56.87, 67.62, 297.38°)
OKLaboklab(64.04% 0.0311 -0.171)
OKLCHoklch(64.04% 0.174 280.3)
XYZxyz(31.2734, 24.7860, 87.1235)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7BF2 #F2F27B
analogous
#7BB7F2 #7B7BF2 #B77BF2
triadic
#7B7BF2 #F27B7B #7BF27B
tetradic
#7B7BF2 #F27BB7 #F2F27B #7BF2B7
square
#7B7BF2 #F27BB7 #F2F27B #7BF2B7
split-complementary
#7B7BF2 #F2B77B #B7F27B
monochromatic
#1616DD #4343ED #7B7BF2 #B3B3F7 #E3E3FC

Accessibility & contrast

On white

3.52
#7B7BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7B7BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7BF2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7BF2#FFFFFF#000000##000000
##7B7BF21.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF6
Deuteranopia (green-blind)
#3984EF
Tritanopia (blue-blind)
#4D95AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b7bf2;
/* rgb */ color: rgb(123, 123, 242);
/* oklch */ color: oklch(64.0% 0.174 280.3);
Tailwind
colors: {
  custom: {
    50: '#a8a1f7',
    500: '#7b7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #7b7bf2;
$custom-light: #a8a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7bf2",
  "rgb": {
    "r": 123,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64041,
    "c": 0.17381,
    "h": 280.3
  },
  "luminance": 0.24788
}

Semantic roles & 50–950 ramp

primary
#7B7BF2
secondary
#F4F4D5
accent
#DE07DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7B7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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