#7A7AF6#7A7AF6

#7A7AF6 is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.0% C 0.181 H 280.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7A7AF6
RGBrgb(122, 122, 246)
HSLhsl(240, 87%, 72%)
HSVhsv(240, 50%, 96%)
CMYKcmyk(50.4%, 50.4%, 0%, 3.5%)
CIE-LABlab(56.79, 32.68, -62.39)
CIE-LCHlch(56.79, 70.43, 297.65°)
OKLaboklab(64.04% 0.0314 -0.1779)
OKLCHoklch(64.04% 0.181 280)
XYZxyz(31.6150, 24.7086, 90.2743)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7AF6 #F6F67A
analogous
#7AB8F6 #7A7AF6 #B87AF6
triadic
#7A7AF6 #F67A7A #7AF67A
tetradic
#7A7AF6 #F67AB8 #F6F67A #7AF6B8
square
#7A7AF6 #F67AB8 #F6F67A #7AF6B8
split-complementary
#7A7AF6 #F6B87A #B8F67A
monochromatic
#1010E6 #4141F2 #7A7AF6 #B3B3FA #E2E2FD

Accessibility & contrast

On white

3.53
#7A7AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#7A7AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7AF6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7AF6#FFFFFF#000000##000000
##7A7AF61.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DFA
Deuteranopia (green-blind)
#2F84F3
Tritanopia (blue-blind)
#4895AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a7af6;
/* rgb */ color: rgb(122, 122, 246);
/* oklch */ color: oklch(64.0% 0.181 280.0);
Tailwind
colors: {
  custom: {
    50: '#a8a0fa',
    500: '#7a7af6',
    950: '#000000',
  },
}
SCSS
$custom: #7a7af6;
$custom-light: #a8a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7af6",
  "rgb": {
    "r": 122,
    "g": 122,
    "b": 246
  },
  "hsl": {
    "h": 240,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64043,
    "c": 0.18066,
    "h": 280
  },
  "luminance": 0.2471
}

Semantic roles & 50–950 ramp

primary
#7A7AF6
secondary
#F5F5D6
accent
#E402E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A7AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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