#7A7BF6#7A7BF6

#7A7BF6 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.2% C 0.179 H 279.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7A7BF6
RGBrgb(122, 123, 246)
HSLhsl(240, 87%, 72%)
HSVhsv(240, 50%, 96%)
CMYKcmyk(50.4%, 50%, 0%, 3.5%)
CIE-LABlab(57.03, 32.09, -62.00)
CIE-LCHlch(57.03, 69.81, 297.37°)
OKLaboklab(64.22% 0.0303 -0.1768)
OKLCHoklch(64.22% 0.179 279.7)
XYZxyz(31.7384, 24.9555, 90.3154)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7BF6 #F6F57A
analogous
#7AB9F6 #7A7BF6 #B77AF6
triadic
#7A7BF6 #F67A7B #7BF67A
tetradic
#7A7BF6 #F67AB9 #F6F57A #7AF6B7
square
#7A7BF6 #F67AB9 #F6F57A #7AF6B7
split-complementary
#7A7BF6 #F6B77A #B9F67A
monochromatic
#1011E6 #4142F2 #7A7BF6 #B3B4FA #E2E3FD

Accessibility & contrast

On white

3.51
#7A7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#7A7BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7BF6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7BF6#FFFFFF#000000##000000
##7A7BF61.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#3284F3
Tritanopia (blue-blind)
#4896AD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a7bf6;
/* rgb */ color: rgb(122, 123, 246);
/* oklch */ color: oklch(64.2% 0.179 279.7);
Tailwind
colors: {
  custom: {
    50: '#a8a1fa',
    500: '#7a7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7a7bf6;
$custom-light: #a8a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7bf6",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 239.516,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64224,
    "c": 0.17935,
    "h": 279.7
  },
  "luminance": 0.24957
}

Semantic roles & 50–950 ramp

primary
#7A7BF6
secondary
#F5F5D6
accent
#E202E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7A7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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