#7A7BF2#7A7BF2

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

Color values

HEX#7A7BF2
RGBrgb(122, 123, 242)
HSLhsl(240, 82%, 71%)
HSVhsv(240, 50%, 95%)
CMYKcmyk(49.6%, 49.2%, 0%, 5.1%)
CIE-LABlab(56.79, 30.89, -60.16)
CIE-LCHlch(56.79, 67.63, 297.18°)
OKLaboklab(63.97% 0.03 -0.1714)
OKLCHoklch(63.97% 0.174 279.9)
XYZxyz(31.1311, 24.7125, 87.1168)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7BF2 #F2F17A
analogous
#7AB7F2 #7A7BF2 #B57AF2
triadic
#7A7BF2 #F27A7B #7BF27A
tetradic
#7A7BF2 #F27AB7 #F2F17A #7AF2B5
square
#7A7BF2 #F27AB7 #F2F17A #7AF2B5
split-complementary
#7A7BF2 #F2B57A #B7F27A
monochromatic
#1617DC #4244ED #7A7BF2 #B2B2F7 #E3E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7BF2#FFFFFF#000000##000000
##7A7BF21.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)
#438DF6
Deuteranopia (green-blind)
#3884EF
Tritanopia (blue-blind)
#4B95AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a7bf2;
/* rgb */ color: rgb(122, 123, 242);
/* oklch */ color: oklch(64.0% 0.174 279.9);
Tailwind
colors: {
  custom: {
    50: '#a8a1f7',
    500: '#7a7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #7a7bf2;
$custom-light: #a8a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7bf2",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 239.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63969,
    "c": 0.17397,
    "h": 279.9
  },
  "luminance": 0.24714
}

Semantic roles & 50–950 ramp

primary
#7A7BF2
secondary
#F3F3D4
accent
#DD07DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7A7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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