#7B7AEE#7B7AEE

#7B7AEE is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.6% C 0.170 H 280.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7B7AEE
RGBrgb(123, 122, 238)
HSLhsl(241, 77%, 71%)
HSVhsv(241, 49%, 93%)
CMYKcmyk(48.3%, 48.7%, 0%, 6.7%)
CIE-LABlab(56.39, 30.50, -58.59)
CIE-LCHlch(56.39, 66.05, 297.50°)
OKLaboklab(63.61% 0.0319 -0.1667)
OKLCHoklch(63.61% 0.17 280.8)
XYZxyz(30.5558, 24.3014, 83.9529)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7AEE #EDEE7A
analogous
#7AB3EE #7B7AEE #B57AEE
triadic
#7B7AEE #EE7B7A #7AEE7B
tetradic
#7B7AEE #EE7AB3 #EDEE7A #7AEEB5
square
#7B7AEE #EE7AB3 #EDEE7A #7AEEB5
split-complementary
#7B7AEE #EEB57A #B3EE7A
monochromatic
#1D1BD3 #4544E7 #7B7AEE #B1B0F5 #E4E4FC

Accessibility & contrast

On white

3.58
#7B7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7B7AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7AEE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7AEE#FFFFFF#000000##000000
##7B7AEE1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF2
Deuteranopia (green-blind)
#3C83EB
Tritanopia (blue-blind)
#5093A9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b7aee;
/* rgb */ color: rgb(123, 122, 238);
/* oklch */ color: oklch(63.6% 0.170 280.8);
Tailwind
colors: {
  custom: {
    50: '#a8a0f4',
    500: '#7b7aee',
    950: '#000000',
  },
}
SCSS
$custom: #7b7aee;
$custom-light: #a8a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7aee",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 240.517,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63606,
    "c": 0.16974,
    "h": 280.8
  },
  "luminance": 0.24303
}

Semantic roles & 50–950 ramp

primary
#7B7AEE
secondary
#F1F2D2
accent
#DA0CD8
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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