#7E7AFA#7E7AFA

#7E7AFA is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.6% C 0.185 H 281.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7E7AFA
RGBrgb(126, 122, 250)
HSLhsl(242, 93%, 73%)
HSVhsv(242, 51%, 98%)
CMYKcmyk(49.6%, 51.2%, 0%, 2%)
CIE-LABlab(57.32, 34.71, -63.73)
CIE-LCHlch(57.32, 72.57, 298.58°)
OKLaboklab(64.59% 0.0362 -0.1817)
OKLCHoklch(64.59% 0.185 281.3)
XYZxyz(32.8138, 25.2550, 93.5696)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7AFA #F6FA7A
analogous
#7AB6FA #7E7AFA #BE7AFA
triadic
#7E7AFA #FA7E7A #7AFA7E
tetradic
#7E7AFA #FA7AB6 #F6FA7A #7AFABE
square
#7E7AFA #FA7AB6 #F6FA7A #7AFABE
split-complementary
#7E7AFA #FABE7A #B6FA7A
monochromatic
#1009F1 #453FF8 #7E7AFA #B7B5FC #E2E2FE

Accessibility & contrast

On white

3.47
#7E7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#7E7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7AFA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7AFA#FFFFFF#000000##000000
##7E7AFA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#2D85F7
Tritanopia (blue-blind)
#4E96AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e7afa;
/* rgb */ color: rgb(126, 122, 250);
/* oklch */ color: oklch(64.6% 0.185 281.3);
Tailwind
colors: {
  custom: {
    50: '#aba0fd',
    500: '#7e7afa',
    950: '#000000',
  },
}
SCSS
$custom: #7e7afa;
$custom-light: #aba0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7afa",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 241.875,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64593,
    "c": 0.18533,
    "h": 281.3
  },
  "luminance": 0.25257
}

Semantic roles & 50–950 ramp

primary
#7E7AFA
secondary
#F5F6D5
accent
#E600DE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7E7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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