#7A6AAA#7A6AAA

#7A6AAA is a mid, moderate violet. Relative luminance 0.173; OKLCH L 56.6% C 0.098 H 294.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7A6AAA
RGBrgb(122, 106, 170)
HSLhsl(255, 27%, 54%)
HSVhsv(255, 38%, 67%)
CMYKcmyk(28.2%, 37.6%, 0%, 33.3%)
CIE-LABlab(48.70, 20.67, -32.05)
CIE-LCHlch(48.70, 38.14, 302.83°)
OKLaboklab(56.58% 0.0408 -0.0893)
OKLCHoklch(56.58% 0.098 294.5)
XYZxyz(20.4340, 17.3476, 40.2943)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AAA #9AAA6A
analogous
#6A7AAA #7A6AAA #9A6AAA
triadic
#7A6AAA #AA7A6A #6AAA7A
tetradic
#7A6AAA #AA6A7A #9AAA6A #6AAA9A
square
#7A6AAA #AA6A7A #9AAA6A #6AAA9A
split-complementary
#7A6AAA #AA9A6A #7AAA6A
monochromatic
#423862 #5D4E89 #7A6AAA #9D91C0 #C0B8D6

Accessibility & contrast

On white

4.70
#7A6AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7A6AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6AAA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AAA#FFFFFF#000000##FFFFFF
##7A6AAA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5974AC
Deuteranopia (green-blind)
#5B73A8
Tritanopia (blue-blind)
#707582
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a6aaa;
/* rgb */ color: rgb(122, 106, 170);
/* oklch */ color: oklch(56.6% 0.098 294.5);
Tailwind
colors: {
  custom: {
    50: '#a294c3',
    500: '#7a6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #7a6aaa;
$custom-light: #a294c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6aaa",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 255,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56585,
    "c": 0.09818,
    "h": 294.5
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#7A6AAA
secondary
#BFC6AA
accent
#C464AC
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #7A6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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