#7A76F2#7A76F2

#7A76F2 is a light, vivid blue. Relative luminance 0.235; OKLCH L 63.1% C 0.181 H 281.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7A76F2
RGBrgb(122, 118, 242)
HSLhsl(242, 83%, 71%)
HSVhsv(242, 51%, 95%)
CMYKcmyk(49.6%, 51.2%, 0%, 5.1%)
CIE-LABlab(55.59, 33.85, -62.10)
CIE-LCHlch(55.59, 70.73, 298.59°)
OKLaboklab(63.06% 0.0355 -0.1771)
OKLCHoklch(63.06% 0.181 281.3)
XYZxyz(30.5266, 23.5036, 86.9153)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A76F2 #EEF276
analogous
#76B0F2 #7A76F2 #B876F2
triadic
#7A76F2 #F27A76 #76F27A
tetradic
#7A76F2 #F276B0 #EEF276 #76F2B8
square
#7A76F2 #F276B0 #EEF276 #76F2B8
split-complementary
#7A76F2 #F2B876 #B0F276
monochromatic
#1B15D9 #443EED #7A76F2 #B0AEF7 #E4E3FC

Accessibility & contrast

On white

3.68
#7A76F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7A76F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A76F2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A76F2#FFFFFF#000000##000000
##7A76F21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#2C81EF
Tritanopia (blue-blind)
#4C91A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a76f2;
/* rgb */ color: rgb(122, 118, 242);
/* oklch */ color: oklch(63.1% 0.181 281.3);
Tailwind
colors: {
  custom: {
    50: '#a89df7',
    500: '#7a76f2',
    950: '#000000',
  },
}
SCSS
$custom: #7a76f2;
$custom-light: #a89df7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a76f2",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 241.935,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63062,
    "c": 0.18062,
    "h": 281.3
  },
  "luminance": 0.23505
}

Semantic roles & 50–950 ramp

primary
#7A76F2
secondary
#F2F3D1
accent
#DF06D8
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A76F2

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

Preview Lab → · Contrast checker → · Palette generator →

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