#7A7FEA#7A7FEA

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

Color values

HEX#7A7FEA
RGBrgb(122, 127, 234)
HSLhsl(237, 73%, 70%)
HSVhsv(237, 48%, 92%)
CMYKcmyk(47.9%, 45.7%, 0%, 8.2%)
CIE-LABlab(57.32, 26.12, -54.87)
CIE-LCHlch(57.32, 60.77, 295.46°)
OKLaboklab(64.22% 0.0245 -0.1558)
OKLCHoklch(64.22% 0.158 279)
XYZxyz(30.4621, 25.2552, 81.0956)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7FEA #EAE57A
analogous
#7AB7EA #7A7FEA #AD7AEA
triadic
#7A7FEA #EA7A7F #7FEA7A
tetradic
#7A7FEA #EA7AB7 #EAE57A #7AEAAD
square
#7A7FEA #EA7AB7 #EAE57A #7AEAAD
split-complementary
#7A7FEA #EAAD7A #B7EA7A
monochromatic
#2027CA #454CE2 #7A7FEA #AFB2F2 #E4E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7FEA#FFFFFF#000000##000000
##7A7FEA1.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)
#528EEE
Deuteranopia (green-blind)
#4985E8
Tritanopia (blue-blind)
#5096A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a7fea;
/* rgb */ color: rgb(122, 127, 234);
/* oklch */ color: oklch(64.2% 0.158 279.0);
Tailwind
colors: {
  custom: {
    50: '#a7a4f1',
    500: '#7a7fea',
    950: '#000000',
  },
}
SCSS
$custom: #7a7fea;
$custom-light: #a7a4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7fea",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 237.321,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6422,
    "c": 0.15773,
    "h": 279
  },
  "luminance": 0.25257
}

Semantic roles & 50–950 ramp

primary
#7A7FEA
secondary
#F0EED0
accent
#CC11D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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