#7A7AF2#7A7AF2

#7A7AF2 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.8% C 0.175 H 280.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7A7AF2
RGBrgb(122, 122, 242)
HSLhsl(240, 82%, 71%)
HSVhsv(240, 50%, 95%)
CMYKcmyk(49.6%, 49.6%, 0%, 5.1%)
CIE-LABlab(56.55, 31.48, -60.55)
CIE-LCHlch(56.55, 68.25, 297.47°)
OKLaboklab(63.79% 0.0311 -0.1725)
OKLCHoklch(63.79% 0.175 280.2)
XYZxyz(31.0077, 24.4657, 87.0757)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7AF2 #F2F27A
analogous
#7AB6F2 #7A7AF2 #B67AF2
triadic
#7A7AF2 #F27A7A #7AF27A
tetradic
#7A7AF2 #F27AB6 #F2F27A #7AF2B6
square
#7A7AF2 #F27AB6 #F2F27A #7AF2B6
split-complementary
#7A7AF2 #F2B67A #B6F27A
monochromatic
#1616DC #4242ED #7A7AF2 #B2B2F7 #E3E3FC

Accessibility & contrast

On white

3.56
#7A7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7A7AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7AF2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7AF2#FFFFFF#000000##000000
##7A7AF21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#3683EF
Tritanopia (blue-blind)
#4B94AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a7af2;
/* rgb */ color: rgb(122, 122, 242);
/* oklch */ color: oklch(63.8% 0.175 280.2);
Tailwind
colors: {
  custom: {
    50: '#a8a0f7',
    500: '#7a7af2',
    950: '#000000',
  },
}
SCSS
$custom: #7a7af2;
$custom-light: #a8a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7af2",
  "rgb": {
    "r": 122,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63786,
    "c": 0.17531,
    "h": 280.2
  },
  "luminance": 0.24467
}

Semantic roles & 50–950 ramp

primary
#7A7AF2
secondary
#F3F3D4
accent
#DF07DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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