#7A6AED#7A6AED

#7A6AED is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.6% C 0.190 H 284.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7A6AED
RGBrgb(122, 106, 237)
HSLhsl(247, 78%, 67%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(48.5%, 55.3%, 0%, 7.1%)
CIE-LABlab(52.46, 39.41, -64.35)
CIE-LCHlch(52.46, 75.46, 301.49°)
OKLaboklab(60.63% 0.0484 -0.1838)
OKLCHoklch(60.63% 0.19 284.8)
XYZxyz(28.4616, 20.5587, 82.5729)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AED #DDED6A
analogous
#6A9CED #7A6AED #BB6AED
triadic
#7A6AED #ED7A6A #6AED7A
tetradic
#7A6AED #ED6A9C #DDED6A #6AEDBB
square
#7A6AED #ED6A9C #DDED6A #6AEDBB
split-complementary
#7A6AED #EDBB6A #9CED6A
monochromatic
#2D18C5 #4933E6 #7A6AED #ABA1F4 #DBD7FA

Accessibility & contrast

On white

4.11
#7A6AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7A6AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AED
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AED#FFFFFF#000000##000000
##7A6AED1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1681F1
Deuteranopia (green-blind)
#0879EA
Tritanopia (blue-blind)
#5187A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a6aed;
/* rgb */ color: rgb(122, 106, 237);
/* oklch */ color: oklch(60.6% 0.190 284.8);
Tailwind
colors: {
  custom: {
    50: '#a895f4',
    500: '#7a6aed',
    950: '#000000',
  },
}
SCSS
$custom: #7a6aed;
$custom-light: #a895f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6aed",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 247.328,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.19004,
    "h": 284.8
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#7A6AED
secondary
#E9EEC5
accent
#DB0BC1
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6AED

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

Preview Lab → · Contrast checker → · Palette generator →

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