#7B7EEA#7B7EEA

#7B7EEA is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.1% C 0.159 H 279.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7B7EEA
RGBrgb(123, 126, 234)
HSLhsl(238, 73%, 70%)
HSVhsv(238, 47%, 92%)
CMYKcmyk(47.4%, 46.2%, 0%, 8.2%)
CIE-LABlab(57.15, 26.94, -55.15)
CIE-LCHlch(57.15, 61.38, 296.04°)
OKLaboklab(64.1% 0.0268 -0.1566)
OKLCHoklch(64.1% 0.159 279.7)
XYZxyz(30.4760, 25.0716, 81.0594)
Luminance0.2507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7EEA #EAE77B
analogous
#7BB6EA #7B7EEA #AF7BEA
triadic
#7B7EEA #EA7B7E #7EEA7B
tetradic
#7B7EEA #EA7BB6 #EAE77B #7BEAAF
square
#7B7EEA #EA7BB6 #EAE77B #7BEAAF
split-complementary
#7B7EEA #EAAF7B #B6EA7B
monochromatic
#2025CA #464AE2 #7B7EEA #B0B2F2 #E5E5FB

Accessibility & contrast

On white

3.49
#7B7EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#7B7EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7EEA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7EEA#FFFFFF#000000##000000
##7B7EEA1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#508DEE
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#5395A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b7eea;
/* rgb */ color: rgb(123, 126, 234);
/* oklch */ color: oklch(64.1% 0.159 279.7);
Tailwind
colors: {
  custom: {
    50: '#a7a3f1',
    500: '#7b7eea',
    950: '#000000',
  },
}
SCSS
$custom: #7b7eea;
$custom-light: #a7a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7eea",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 238.378,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.64103,
    "c": 0.15889,
    "h": 279.7
  },
  "luminance": 0.25073
}

Semantic roles & 50–950 ramp

primary
#7B7EEA
secondary
#F0EFD1
accent
#CF11D5
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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