#7B7AEA#7B7AEA

#7B7AEA is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.4% C 0.164 H 281.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7B7AEA
RGBrgb(123, 122, 234)
HSLhsl(241, 73%, 70%)
HSVhsv(241, 48%, 92%)
CMYKcmyk(47.4%, 47.9%, 0%, 8.2%)
CIE-LABlab(56.16, 29.32, -56.73)
CIE-LCHlch(56.16, 63.86, 297.33°)
OKLaboklab(63.36% 0.0315 -0.1613)
OKLCHoklch(63.36% 0.164 281)
XYZxyz(29.9747, 24.0690, 80.8923)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7AEA #E9EA7A
analogous
#7AB1EA #7B7AEA #B37AEA
triadic
#7B7AEA #EA7B7A #7AEA7B
tetradic
#7B7AEA #EA7AB1 #E9EA7A #7AEAB3
square
#7B7AEA #EA7AB1 #E9EA7A #7AEAB3
split-complementary
#7B7AEA #EAB37A #B1EA7A
monochromatic
#2120CA #4745E2 #7B7AEA #AFAFF2 #E4E4FB

Accessibility & contrast

On white

3.61
#7B7AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#7B7AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7AEA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7AEA#FFFFFF#000000##000000
##7B7AEA1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#5392A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b7aea;
/* rgb */ color: rgb(123, 122, 234);
/* oklch */ color: oklch(63.4% 0.164 281.0);
Tailwind
colors: {
  custom: {
    50: '#a7a0f1',
    500: '#7b7aea',
    950: '#000000',
  },
}
SCSS
$custom: #7b7aea;
$custom-light: #a7a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7aea",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 240.536,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63357,
    "c": 0.16431,
    "h": 281
  },
  "luminance": 0.24071
}

Semantic roles & 50–950 ramp

primary
#7B7AEA
secondary
#EFF0D0
accent
#D511D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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