#7A7FF6#7A7FF6

#7A7FF6 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.174 H 278.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7A7FF6
RGBrgb(122, 127, 246)
HSLhsl(238, 87%, 72%)
HSVhsv(238, 50%, 96%)
CMYKcmyk(50.4%, 48.4%, 0%, 3.5%)
CIE-LABlab(58.01, 29.73, -60.44)
CIE-LCHlch(58.01, 67.35, 296.19°)
OKLaboklab(64.96% 0.0259 -0.1721)
OKLCHoklch(64.96% 0.174 278.6)
XYZxyz(32.2448, 25.9682, 90.4842)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7FF6 #F6F17A
analogous
#7ABDF6 #7A7FF6 #B37AF6
triadic
#7A7FF6 #F67A7F #7FF67A
tetradic
#7A7FF6 #F67ABD #F6F17A #7AF6B3
square
#7A7FF6 #F67ABD #F6F17A #7AF6B3
split-complementary
#7A7FF6 #F6B37A #BDF67A
monochromatic
#1018E6 #4148F2 #7A7FF6 #B3B6FA #E2E3FD

Accessibility & contrast

On white

3.39
#7A7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7A7FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7FF6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7FF6#FFFFFF#000000##000000
##7A7FF61.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890FA
Deuteranopia (green-blind)
#3B87F3
Tritanopia (blue-blind)
#4799AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a7ff6;
/* rgb */ color: rgb(122, 127, 246);
/* oklch */ color: oklch(65.0% 0.174 278.6);
Tailwind
colors: {
  custom: {
    50: '#a8a4fa',
    500: '#7a7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ff6;
$custom-light: #a8a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ff6",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 237.581,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64958,
    "c": 0.17408,
    "h": 278.6
  },
  "luminance": 0.2597
}

Semantic roles & 50–950 ramp

primary
#7A7FF6
secondary
#F5F4D6
accent
#DB02E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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