#7A6795#7A6795

#7A6795 is a mid, moderate violet. Relative luminance 0.160; OKLCH L 55.0% C 0.073 H 303.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7A6795
RGBrgb(122, 103, 149)
HSLhsl(265, 18%, 49%)
HSVhsv(265, 31%, 58%)
CMYKcmyk(18.1%, 30.9%, 0%, 41.6%)
CIE-LABlab(46.98, 17.23, -22.34)
CIE-LCHlch(46.98, 28.22, 307.64°)
OKLaboklab(54.97% 0.0399 -0.0615)
OKLCHoklch(54.97% 0.073 303)
XYZxyz(18.3000, 16.0080, 30.5537)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6795 #829567
analogous
#676B95 #7A6795 #916795
triadic
#7A6795 #957A67 #67957A
tetradic
#7A6795 #95676B #829567 #679591
square
#7A6795 #95676B #829567 #679591
split-complementary
#7A6795 #959167 #6B9567
monochromatic
#3F354D #5C4E71 #7A6795 #998BAF #B9AFC8

Accessibility & contrast

On white

5.00
#7A6795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7A6795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6795
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6795#FFFFFF#000000##FFFFFF
##7A67951.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6F97
Deuteranopia (green-blind)
#616F94
Tritanopia (blue-blind)
#766E77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a6795;
/* rgb */ color: rgb(122, 103, 149);
/* oklch */ color: oklch(55.0% 0.073 303.0);
Tailwind
colors: {
  custom: {
    50: '#a192b4',
    500: '#7a6795',
    950: '#000000',
  },
}
SCSS
$custom: #7a6795;
$custom-light: #a192b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6795",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 264.783,
    "s": 18.254,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5497,
    "c": 0.07328,
    "h": 303
  },
  "luminance": 0.16008
}

Semantic roles & 50–950 ramp

primary
#7A6795
secondary
#AEB7A1
accent
#BB6D9B
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0F0D11
muted
#7E7E80

Preview Lab

Preview with #7A6795

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

Preview Lab → · Contrast checker → · Palette generator →

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