#7A7FFA#7A7FFA

#7A7FFA is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.2% C 0.179 H 278.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7A7FFA
RGBrgb(122, 127, 250)
HSLhsl(238, 93%, 73%)
HSVhsv(238, 51%, 98%)
CMYKcmyk(51.2%, 49.2%, 0%, 2%)
CIE-LABlab(58.24, 30.93, -62.27)
CIE-LCHlch(58.24, 69.53, 296.42°)
OKLaboklab(65.21% 0.0263 -0.1775)
OKLCHoklch(65.21% 0.179 278.4)
XYZxyz(32.8653, 26.2165, 93.7524)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7FFA #FAF57A
analogous
#7ABFFA #7A7FFA #B57AFA
triadic
#7A7FFA #FA7A7F #7FFA7A
tetradic
#7A7FFA #FA7ABF #FAF57A #7AFAB5
square
#7A7FFA #FA7ABF #FAF57A #7AFAB5
split-complementary
#7A7FFA #FAB57A #BFFA7A
monochromatic
#0912F1 #3F46F8 #7A7FFA #B5B8FC #E2E3FE

Accessibility & contrast

On white

3.36
#7A7FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7A7FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7FFA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7FFA#FFFFFF#000000##000000
##7A7FFA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#3587F7
Tritanopia (blue-blind)
#449AB1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a7ffa;
/* rgb */ color: rgb(122, 127, 250);
/* oklch */ color: oklch(65.2% 0.179 278.4);
Tailwind
colors: {
  custom: {
    50: '#a8a4fd',
    500: '#7a7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ffa;
$custom-light: #a8a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ffa",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 237.656,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65211,
    "c": 0.17946,
    "h": 278.4
  },
  "luminance": 0.26218
}

Semantic roles & 50–950 ramp

primary
#7A7FFA
secondary
#F6F5D5
accent
#DD00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7A7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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