#7E7AEA#7E7AEA

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

Color values

HEX#7E7AEA
RGBrgb(126, 122, 234)
HSLhsl(242, 73%, 70%)
HSVhsv(242, 48%, 92%)
CMYKcmyk(46.2%, 47.9%, 0%, 8.2%)
CIE-LABlab(56.38, 29.99, -56.36)
CIE-LCHlch(56.38, 63.84, 298.02°)
OKLaboklab(63.58% 0.0349 -0.1601)
OKLCHoklch(63.58% 0.164 282.3)
XYZxyz(30.4106, 24.2937, 80.9127)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7AEA #E6EA7A
analogous
#7AAEEA #7E7AEA #B67AEA
triadic
#7E7AEA #EA7E7A #7AEA7E
tetradic
#7E7AEA #EA7AAE #E6EA7A #7AEAB6
square
#7E7AEA #EA7AAE #E6EA7A #7AEAB6
split-complementary
#7E7AEA #EAB67A #AEEA7A
monochromatic
#2620CA #4B45E2 #7E7AEA #B1AFF2 #E5E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7AEA#FFFFFF#000000##000000
##7E7AEA1.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)
#4A8BEE
Deuteranopia (green-blind)
#4383E8
Tritanopia (blue-blind)
#5992A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e7aea;
/* rgb */ color: rgb(126, 122, 234);
/* oklch */ color: oklch(63.6% 0.164 282.3);
Tailwind
colors: {
  custom: {
    50: '#a9a0f1',
    500: '#7e7aea',
    950: '#000000',
  },
}
SCSS
$custom: #7e7aea;
$custom-light: #a9a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7aea",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 242.143,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63582,
    "c": 0.16387,
    "h": 282.3
  },
  "luminance": 0.24295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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