#7C7AEB#7C7AEB

#7C7AEB is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.5% C 0.166 H 281.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7C7AEB
RGBrgb(124, 122, 235)
HSLhsl(241, 74%, 70%)
HSVhsv(241, 48%, 92%)
CMYKcmyk(47.2%, 48.1%, 0%, 7.8%)
CIE-LABlab(56.29, 29.84, -57.07)
CIE-LCHlch(56.29, 64.40, 297.60°)
OKLaboklab(63.49% 0.0327 -0.1622)
OKLCHoklch(63.49% 0.166 281.4)
XYZxyz(30.2626, 24.2008, 81.6578)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7AEB #E9EB7A
analogous
#7AB0EB #7C7AEB #B57AEB
triadic
#7C7AEB #EB7C7A #7AEB7C
tetradic
#7C7AEB #EB7AB0 #E9EB7A #7AEBB5
square
#7C7AEB #EB7AB0 #E9EB7A #7AEBB5
split-complementary
#7C7AEB #EBB57A #B0EB7A
monochromatic
#221FCC #4845E3 #7C7AEB #B0AFF3 #E5E4FB

Accessibility & contrast

On white

3.60
#7C7AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7C7AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7AEB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7AEB#FFFFFF#000000##000000
##7C7AEB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#5492A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c7aeb;
/* rgb */ color: rgb(124, 122, 235);
/* oklch */ color: oklch(63.5% 0.166 281.4);
Tailwind
colors: {
  custom: {
    50: '#a8a0f2',
    500: '#7c7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7c7aeb;
$custom-light: #a8a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7aeb",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 241.062,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.63493,
    "c": 0.16551,
    "h": 281.4
  },
  "luminance": 0.24202
}

Semantic roles & 50–950 ramp

primary
#7C7AEB
secondary
#F0F0D1
accent
#D610D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7C7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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