#7A6692#7A6692

#7A6692 is a mid, moderate violet. Relative luminance 0.157; OKLCH L 54.6% C 0.071 H 305.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7A6692
RGBrgb(122, 102, 146)
HSLhsl(267, 18%, 49%)
HSVhsv(267, 30%, 57%)
CMYKcmyk(16.4%, 30.1%, 0%, 42.7%)
CIE-LABlab(46.60, 17.12, -21.16)
CIE-LCHlch(46.60, 27.22, 308.98°)
OKLaboklab(54.63% 0.0406 -0.0581)
OKLCHoklch(54.63% 0.071 305)
XYZxyz(17.9647, 15.7157, 29.2756)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6692 #7E9266
analogous
#666892 #7A6692 #906692
triadic
#7A6692 #927A66 #66927A
tetradic
#7A6692 #926668 #7E9266 #669290
square
#7A6692 #926668 #7E9266 #669290
split-complementary
#7A6692 #929066 #689266
monochromatic
#3E344A #5C4D6E #7A6692 #9989AC #B8ADC6

Accessibility & contrast

On white

5.07
#7A6692 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7A6692 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6692
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6692#FFFFFF#000000##FFFFFF
##7A66921.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6E94
Deuteranopia (green-blind)
#616F91
Tritanopia (blue-blind)
#766C76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6692;
/* rgb */ color: rgb(122, 102, 146);
/* oklch */ color: oklch(54.6% 0.071 305.0);
Tailwind
colors: {
  custom: {
    50: '#a191b2',
    500: '#7a6692',
    950: '#000000',
  },
}
SCSS
$custom: #7a6692;
$custom-light: #a191b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6692",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 146
  },
  "hsl": {
    "h": 267.273,
    "s": 17.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54633,
    "c": 0.07086,
    "h": 305
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#7A6692
secondary
#ABB49F
accent
#BA6D97
background
#F9F8FA
surface
#F2F0F5
border
#CCCBCF
text
#0F0D11
muted
#7E7D80

Preview Lab

Preview with #7A6692

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

Preview Lab → · Contrast checker → · Palette generator →

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