#7A6ABA#7A6ABA

#7A6ABA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.4% C 0.121 H 291.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7A6ABA
RGBrgb(122, 106, 186)
HSLhsl(252, 37%, 57%)
HSVhsv(252, 43%, 73%)
CMYKcmyk(34.4%, 43%, 0%, 27.1%)
CIE-LABlab(49.48, 24.92, -40.11)
CIE-LCHlch(49.48, 47.22, 301.86°)
OKLaboklab(57.44% 0.0439 -0.1127)
OKLCHoklch(57.44% 0.121 291.3)
XYZxyz(22.0407, 17.9903, 48.7561)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6ABA #AABA6A
analogous
#6A82BA #7A6ABA #A26ABA
triadic
#7A6ABA #BA7A6A #6ABA7A
tetradic
#7A6ABA #BA6A82 #AABA6A #6ABAA2
square
#7A6ABA #BA6A82 #AABA6A #6ABAA2
split-complementary
#7A6ABA #BAA26A #82BA6A
monochromatic
#423674 #5A499E #7A6ABA #9F94CD #C5BEE1

Accessibility & contrast

On white

4.57
#7A6ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7A6ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6ABA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6ABA#FFFFFF#000000##000000
##7A6ABA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#6A7989
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a6aba;
/* rgb */ color: rgb(122, 106, 186);
/* oklch */ color: oklch(57.4% 0.121 291.3);
Tailwind
colors: {
  custom: {
    50: '#a394cf',
    500: '#7a6aba',
    950: '#000000',
  },
}
SCSS
$custom: #7a6aba;
$custom-light: #a394cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6aba",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 252,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.12096,
    "h": 291.3
  },
  "luminance": 0.17991
}

Semantic roles & 50–950 ramp

primary
#7A6ABA
secondary
#CAD0B0
accent
#CD5BB6
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7A6ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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