#7A77F2#7A77F2

#7A77F2 is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.2% C 0.179 H 281.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7A77F2
RGBrgb(122, 119, 242)
HSLhsl(241, 83%, 71%)
HSVhsv(241, 51%, 95%)
CMYKcmyk(49.6%, 50.8%, 0%, 5.1%)
CIE-LABlab(55.83, 33.26, -61.72)
CIE-LCHlch(55.83, 70.11, 298.32°)
OKLaboklab(63.24% 0.0344 -0.176)
OKLCHoklch(63.24% 0.179 281.1)
XYZxyz(30.6450, 23.7403, 86.9548)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A77F2 #EFF277
analogous
#77B2F2 #7A77F2 #B777F2
triadic
#7A77F2 #F27A77 #77F27A
tetradic
#7A77F2 #F277B2 #EFF277 #77F2B7
square
#7A77F2 #F277B2 #EFF277 #77F2B7
split-complementary
#7A77F2 #F2B777 #B2F277
monochromatic
#1A15DA #433FED #7A77F2 #B1AFF7 #E4E3FC

Accessibility & contrast

On white

3.65
#7A77F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#7A77F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A77F2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A77F2#FFFFFF#000000##000000
##7A77F21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#2E81EF
Tritanopia (blue-blind)
#4C92A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a77f2;
/* rgb */ color: rgb(122, 119, 242);
/* oklch */ color: oklch(63.2% 0.179 281.1);
Tailwind
colors: {
  custom: {
    50: '#a89ef7',
    500: '#7a77f2',
    950: '#000000',
  },
}
SCSS
$custom: #7a77f2;
$custom-light: #a89ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a77f2",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 241.463,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63242,
    "c": 0.17929,
    "h": 281.1
  },
  "luminance": 0.23742
}

Semantic roles & 50–950 ramp

primary
#7A77F2
secondary
#F2F3D2
accent
#DF07DA
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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