#7E7BFB#7E7BFB

#7E7BFB is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.185 H 281.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7E7BFB
RGBrgb(126, 123, 251)
HSLhsl(241, 94%, 73%)
HSVhsv(241, 51%, 98%)
CMYKcmyk(49.8%, 51%, 0%, 1.6%)
CIE-LABlab(57.62, 34.42, -63.80)
CIE-LCHlch(57.62, 72.49, 298.35°)
OKLaboklab(64.84% 0.0352 -0.182)
OKLCHoklch(64.84% 0.185 281)
XYZxyz(33.0944, 25.5647, 94.4387)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BFB #F8FB7B
analogous
#7BB8FB #7E7BFB #BE7BFB
triadic
#7E7BFB #FB7E7B #7BFB7E
tetradic
#7E7BFB #FB7BB8 #F8FB7B #7BFBBE
square
#7E7BFB #FB7BB8 #F8FB7B #7BFBBE
split-complementary
#7E7BFB #FBBE7B #B8FB7B
monochromatic
#0D07F4 #4440F9 #7E7BFB #B8B6FD #E2E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7BFB#FFFFFF#000000##000000
##7E7BFB1.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)
#3A8FFF
Deuteranopia (green-blind)
#2E86F8
Tritanopia (blue-blind)
#4D97AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e7bfb;
/* rgb */ color: rgb(126, 123, 251);
/* oklch */ color: oklch(64.8% 0.185 281.0);
Tailwind
colors: {
  custom: {
    50: '#aba1fd',
    500: '#7e7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bfb;
$custom-light: #aba1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bfb",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 241.406,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.64836,
    "c": 0.18534,
    "h": 281
  },
  "luminance": 0.25567
}

Semantic roles & 50–950 ramp

primary
#7E7BFB
secondary
#F6F6D5
accent
#E600E0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #7E7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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