#7B7EFA#7B7EFA

#7B7EFA is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.1% C 0.181 H 279.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7B7EFA
RGBrgb(123, 126, 250)
HSLhsl(239, 93%, 73%)
HSVhsv(239, 51%, 98%)
CMYKcmyk(50.8%, 49.6%, 0%, 2%)
CIE-LABlab(58.07, 31.73, -62.54)
CIE-LCHlch(58.07, 70.13, 296.90°)
OKLaboklab(65.1% 0.0285 -0.1783)
OKLCHoklch(65.1% 0.181 279.1)
XYZxyz(32.8792, 26.0328, 93.7163)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7EFA #FAF77B
analogous
#7BBDFA #7B7EFA #B77BFA
triadic
#7B7EFA #FA7B7E #7EFA7B
tetradic
#7B7EFA #FA7BBD #FAF77B #7BFAB7
square
#7B7EFA #FA7BBD #FAF77B #7BFAB7
split-complementary
#7B7EFA #FAB77B #BDFA7B
monochromatic
#090FF1 #4044F8 #7B7EFA #B6B8FC #E2E2FE

Accessibility & contrast

On white

3.38
#7B7EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7B7EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7EFA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7EFA#FFFFFF#000000##000000
##7B7EFA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FE
Deuteranopia (green-blind)
#3487F7
Tritanopia (blue-blind)
#4699B0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7b7efa;
/* rgb */ color: rgb(123, 126, 250);
/* oklch */ color: oklch(65.1% 0.181 279.1);
Tailwind
colors: {
  custom: {
    50: '#a9a3fd',
    500: '#7b7efa',
    950: '#000000',
  },
}
SCSS
$custom: #7b7efa;
$custom-light: #a9a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7efa",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 238.583,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65098,
    "c": 0.18058,
    "h": 279.1
  },
  "luminance": 0.26035
}

Semantic roles & 50–950 ramp

primary
#7B7EFA
secondary
#F6F5D5
accent
#E000E6
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7B7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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