#7A6790#7A6790

#7A6790 is a mid, moderate violet. Relative luminance 0.159; OKLCH L 54.7% C 0.066 H 305.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7A6790
RGBrgb(122, 103, 144)
HSLhsl(268, 17%, 48%)
HSVhsv(268, 28%, 56%)
CMYKcmyk(15.3%, 28.5%, 0%, 43.5%)
CIE-LABlab(46.78, 16.05, -19.69)
CIE-LCHlch(46.78, 25.40, 309.18°)
OKLaboklab(54.75% 0.0384 -0.0539)
OKLCHoklch(54.75% 0.066 305.5)
XYZxyz(17.9094, 15.8518, 28.4963)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6790 #7D9067
analogous
#676890 #7A6790 #8E6790
triadic
#7A6790 #907A67 #67907A
tetradic
#7A6790 #906768 #7D9067 #67908E
square
#7A6790 #906768 #7D9067 #67908E
split-complementary
#7A6790 #908E67 #689067
monochromatic
#3E3449 #5C4D6C #7A6790 #9989AB #B8ADC4

Accessibility & contrast

On white

5.04
#7A6790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7A6790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6790
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6790#FFFFFF#000000##FFFFFF
##7A67901.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E92
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#776D75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a6790;
/* rgb */ color: rgb(122, 103, 144);
/* oklch */ color: oklch(54.7% 0.066 305.5);
Tailwind
colors: {
  custom: {
    50: '#a192b0',
    500: '#7a6790',
    950: '#000000',
  },
}
SCSS
$custom: #7a6790;
$custom-light: #a192b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6790",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 144
  },
  "hsl": {
    "h": 267.805,
    "s": 16.599,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.06622,
    "h": 305.5
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

primary
#7A6790
secondary
#AAB39F
accent
#B96E97
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0F0D10
muted
#7E7E7F

Preview Lab

Preview with #7A6790

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

Preview Lab → · Contrast checker → · Palette generator →

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