#7B7EF2#7B7EF2

#7B7EF2 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.6% C 0.170 H 279.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7B7EF2
RGBrgb(123, 126, 242)
HSLhsl(238, 82%, 72%)
HSVhsv(238, 49%, 95%)
CMYKcmyk(49.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(57.60, 29.33, -58.87)
CIE-LCHlch(57.60, 65.77, 296.48°)
OKLaboklab(64.59% 0.0277 -0.1675)
OKLCHoklch(64.59% 0.17 279.4)
XYZxyz(31.6513, 25.5417, 87.2494)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7EF2 #F2EF7B
analogous
#7BBAF2 #7B7EF2 #B47BF2
triadic
#7B7EF2 #F27B7E #7EF27B
tetradic
#7B7EF2 #F27BBA #F2EF7B #7BF2B4
square
#7B7EF2 #F27BBA #F2EF7B #7BF2B4
split-complementary
#7B7EF2 #F2B47B #BAF27B
monochromatic
#161BDD #4348ED #7B7EF2 #B3B4F7 #E3E4FC

Accessibility & contrast

On white

3.44
#7B7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#7B7EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7EF2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7EF2#FFFFFF#000000##000000
##7B7EF21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#4D97AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b7ef2;
/* rgb */ color: rgb(123, 126, 242);
/* oklch */ color: oklch(64.6% 0.170 279.4);
Tailwind
colors: {
  custom: {
    50: '#a8a3f7',
    500: '#7b7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #7b7ef2;
$custom-light: #a8a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7ef2",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 238.487,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64594,
    "c": 0.16981,
    "h": 279.4
  },
  "luminance": 0.25543
}

Semantic roles & 50–950 ramp

primary
#7B7EF2
secondary
#F4F3D5
accent
#D907DE
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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