#7A6AEB#7A6AEB

#7A6AEB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.5% C 0.187 H 285.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7A6AEB
RGBrgb(122, 106, 235)
HSLhsl(247, 76%, 67%)
HSVhsv(247, 55%, 92%)
CMYKcmyk(48.1%, 54.9%, 0%, 7.8%)
CIE-LABlab(52.33, 38.83, -63.43)
CIE-LCHlch(52.33, 74.37, 301.47°)
OKLaboklab(60.5% 0.0484 -0.1811)
OKLCHoklch(60.5% 0.187 285)
XYZxyz(28.1710, 20.4425, 81.0426)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AEB #DBEB6A
analogous
#6A9BEB #7A6AEB #BB6AEB
triadic
#7A6AEB #EB7A6A #6AEB7A
tetradic
#7A6AEB #EB6A9B #DBEB6A #6AEBBB
square
#7A6AEB #EB6A9B #DBEB6A #6AEBBB
split-complementary
#7A6AEB #EBBB6A #9BEB6A
monochromatic
#2F1AC1 #4A34E4 #7A6AEB #AAA0F2 #DAD6F9

Accessibility & contrast

On white

4.13
#7A6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7A6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AEB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AEB#FFFFFF#000000##000000
##7A6AEB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81EF
Deuteranopia (green-blind)
#1279E8
Tritanopia (blue-blind)
#5287A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a6aeb;
/* rgb */ color: rgb(122, 106, 235);
/* oklch */ color: oklch(60.5% 0.187 285.0);
Tailwind
colors: {
  custom: {
    50: '#a895f2',
    500: '#7a6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7a6aeb;
$custom-light: #a895f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6aeb",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 247.442,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.18744,
    "h": 285
  },
  "luminance": 0.20444
}

Semantic roles & 50–950 ramp

primary
#7A6AEB
secondary
#E8EDC4
accent
#D90DBF
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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