#7E7AED#7E7AED

#7E7AED is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.8% C 0.168 H 282.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7E7AED
RGBrgb(126, 122, 237)
HSLhsl(242, 76%, 70%)
HSVhsv(242, 49%, 93%)
CMYKcmyk(46.8%, 48.5%, 0%, 7.1%)
CIE-LABlab(56.55, 30.87, -57.76)
CIE-LCHlch(56.55, 65.49, 298.13°)
OKLaboklab(63.77% 0.0352 -0.1642)
OKLCHoklch(63.77% 0.168 282.1)
XYZxyz(30.8452, 24.4676, 83.2018)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7AED #E9ED7A
analogous
#7AAFED #7E7AED #B77AED
triadic
#7E7AED #ED7E7A #7AED7E
tetradic
#7E7AED #ED7AAF #E9ED7A #7AEDB7
square
#7E7AED #ED7AAF #E9ED7A #7AEDB7
split-complementary
#7E7AED #EDB77A #AFED7A
monochromatic
#221CD0 #4A44E6 #7E7AED #B2B0F4 #E5E4FB

Accessibility & contrast

On white

3.56
#7E7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7E7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7AED
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7AED#FFFFFF#000000##000000
##7E7AED1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF1
Deuteranopia (green-blind)
#4084EA
Tritanopia (blue-blind)
#5793A8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e7aed;
/* rgb */ color: rgb(126, 122, 237);
/* oklch */ color: oklch(63.8% 0.168 282.1);
Tailwind
colors: {
  custom: {
    50: '#a9a0f3',
    500: '#7e7aed',
    950: '#000000',
  },
}
SCSS
$custom: #7e7aed;
$custom-light: #a9a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7aed",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 242.087,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.63767,
    "c": 0.16793,
    "h": 282.1
  },
  "luminance": 0.24469
}

Semantic roles & 50–950 ramp

primary
#7E7AED
secondary
#F0F1D2
accent
#D80DD1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7E7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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