#7E7AE7#7E7AE7

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

Color values

HEX#7E7AE7
RGBrgb(126, 122, 231)
HSLhsl(242, 69%, 69%)
HSVhsv(242, 47%, 91%)
CMYKcmyk(45.5%, 47.2%, 0%, 9.4%)
CIE-LABlab(56.21, 29.12, -54.96)
CIE-LCHlch(56.21, 62.19, 297.91°)
OKLaboklab(63.4% 0.0346 -0.156)
OKLCHoklch(63.4% 0.16 282.5)
XYZxyz(29.9832, 24.1228, 78.6621)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7AE7 #E3E77A
analogous
#7AADE7 #7E7AE7 #B57AE7
triadic
#7E7AE7 #E77E7A #7AE77E
tetradic
#7E7AE7 #E77AAD #E3E77A #7AE7B5
square
#7E7AE7 #E77AAD #E3E77A #7AE7B5
split-complementary
#7E7AE7 #E7B57A #ADE77A
monochromatic
#2923C3 #4C46DE #7E7AE7 #B0AEF0 #E3E2FA

Accessibility & contrast

On white

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

On black

5.82
#7E7AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7AE7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7AE7#FFFFFF#000000##000000
##7E7AE71.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BEB
Deuteranopia (green-blind)
#4683E5
Tritanopia (blue-blind)
#5B91A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e7ae7;
/* rgb */ color: rgb(126, 122, 231);
/* oklch */ color: oklch(63.4% 0.160 282.5);
Tailwind
colors: {
  custom: {
    50: '#a9a0ef',
    500: '#7e7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #7e7ae7;
$custom-light: #a9a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7ae7",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 242.202,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63398,
    "c": 0.15977,
    "h": 282.5
  },
  "luminance": 0.24124
}

Semantic roles & 50–950 ramp

primary
#7E7AE7
secondary
#EDEECF
accent
#D114CA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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