#7A6AEE#7A6AEE

#7A6AEE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.7% C 0.191 H 284.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7A6AEE
RGBrgb(122, 106, 238)
HSLhsl(247, 80%, 67%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(48.7%, 55.5%, 0%, 6.7%)
CIE-LABlab(52.53, 39.70, -64.80)
CIE-LCHlch(52.53, 76.00, 301.50°)
OKLaboklab(60.7% 0.0484 -0.1851)
OKLCHoklch(60.7% 0.191 284.7)
XYZxyz(28.6081, 20.6173, 83.3445)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AEE #DEEE6A
analogous
#6A9CEE #7A6AEE #BC6AEE
triadic
#7A6AEE #EE7A6A #6AEE7A
tetradic
#7A6AEE #EE6A9C #DEEE6A #6AEEBC
square
#7A6AEE #EE6A9C #DEEE6A #6AEEBC
split-complementary
#7A6AEE #EEBC6A #9CEE6A
monochromatic
#2C17C7 #4933E8 #7A6AEE #ABA1F4 #DCD8FB

Accessibility & contrast

On white

4.10
#7A6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7A6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AEE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AEE#FFFFFF#000000##000000
##7A6AEE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1281F2
Deuteranopia (green-blind)
#0279EB
Tritanopia (blue-blind)
#5088A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a6aee;
/* rgb */ color: rgb(122, 106, 238);
/* oklch */ color: oklch(60.7% 0.191 284.7);
Tailwind
colors: {
  custom: {
    50: '#a895f4',
    500: '#7a6aee',
    950: '#000000',
  },
}
SCSS
$custom: #7a6aee;
$custom-light: #a895f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6aee",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 247.273,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60702,
    "c": 0.19133,
    "h": 284.7
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#7A6AEE
secondary
#EAEFC5
accent
#DC0AC2
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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