#7B7ECF#7B7ECF

#7B7ECF is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.6% C 0.121 H 280.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7B7ECF
RGBrgb(123, 126, 207)
HSLhsl(238, 47%, 65%)
HSVhsv(238, 41%, 81%)
CMYKcmyk(40.6%, 39.1%, 0%, 18.8%)
CIE-LABlab(55.72, 19.08, -42.26)
CIE-LCHlch(55.72, 46.37, 294.30°)
OKLaboklab(62.56% 0.0224 -0.1189)
OKLCHoklch(62.56% 0.121 280.7)
XYZxyz(26.8884, 23.6365, 62.1649)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7ECF #CFCC7B
analogous
#7BA8CF #7B7ECF #A27BCF
triadic
#7B7ECF #CF7B7E #7ECF7B
tetradic
#7B7ECF #CF7BA8 #CFCC7B #7BCFA2
square
#7B7ECF #CF7BA8 #CFCC7B #7BCFA2
split-complementary
#7B7ECF #CFA27B #A8CF7B
monochromatic
#373B98 #4E52BF #7B7ECF #A8AADF #D5D6F0

Accessibility & contrast

On white

3.67
#7B7ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7B7ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7ECF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7ECF#FFFFFF#000000##000000
##7B7ECF1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6289D2
Deuteranopia (green-blind)
#5D83CD
Tritanopia (blue-blind)
#628E9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7b7ecf;
/* rgb */ color: rgb(123, 126, 207);
/* oklch */ color: oklch(62.6% 0.121 280.7);
Tailwind
colors: {
  custom: {
    50: '#a5a3de',
    500: '#7b7ecf',
    950: '#000000',
  },
}
SCSS
$custom: #7b7ecf;
$custom-light: #a5a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7ecf",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 237.857,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62558,
    "c": 0.12101,
    "h": 280.7
  },
  "luminance": 0.23638
}

Semantic roles & 50–950 ramp

primary
#7B7ECF
secondary
#E1E0C4
accent
#B52CBA
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7B7ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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