#7A7FF4#7A7FF4

#7A7FF4 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.8% C 0.171 H 278.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7A7FF4
RGBrgb(122, 127, 244)
HSLhsl(238, 85%, 72%)
HSVhsv(238, 50%, 96%)
CMYKcmyk(50%, 48%, 0%, 4.3%)
CIE-LABlab(57.89, 29.12, -59.51)
CIE-LCHlch(57.89, 66.26, 296.07°)
OKLaboklab(64.83% 0.0257 -0.1694)
OKLCHoklch(64.83% 0.171 278.6)
XYZxyz(31.9395, 25.8461, 88.8762)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7FF4 #F4EF7A
analogous
#7ABCF4 #7A7FF4 #B27AF4
triadic
#7A7FF4 #F47A7F #7FF47A
tetradic
#7A7FF4 #F47ABC #F4EF7A #7AF4B2
square
#7A7FF4 #F47ABC #F4EF7A #7AF4B2
split-complementary
#7A7FF4 #F4B27A #BCF47A
monochromatic
#131BE1 #4149EF #7A7FF4 #B3B5F9 #E3E4FD

Accessibility & contrast

On white

3.40
#7A7FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7A7FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7FF4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7FF4#FFFFFF#000000##000000
##7A7FF41.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A90F8
Deuteranopia (green-blind)
#3E86F1
Tritanopia (blue-blind)
#4998AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a7ff4;
/* rgb */ color: rgb(122, 127, 244);
/* oklch */ color: oklch(64.8% 0.171 278.6);
Tailwind
colors: {
  custom: {
    50: '#a8a4f8',
    500: '#7a7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ff4;
$custom-light: #a8a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ff4",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 237.541,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64833,
    "c": 0.17138,
    "h": 278.6
  },
  "luminance": 0.25848
}

Semantic roles & 50–950 ramp

primary
#7A7FF4
secondary
#F4F3D5
accent
#D804E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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