#7A6791#7A6791

#7A6791 is a mid, moderate violet. Relative luminance 0.159; OKLCH L 54.8% C 0.068 H 304.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7A6791
RGBrgb(122, 103, 145)
HSLhsl(267, 17%, 49%)
HSVhsv(267, 29%, 57%)
CMYKcmyk(15.9%, 29%, 0%, 43.1%)
CIE-LABlab(46.82, 16.28, -20.22)
CIE-LCHlch(46.82, 25.96, 308.84°)
OKLaboklab(54.79% 0.0387 -0.0554)
OKLCHoklch(54.79% 0.068 304.9)
XYZxyz(17.9861, 15.8825, 28.9007)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6791 #7E9167
analogous
#676991 #7A6791 #8F6791
triadic
#7A6791 #917A67 #67917A
tetradic
#7A6791 #916769 #7E9167 #67918F
square
#7A6791 #916769 #7E9167 #67918F
split-complementary
#7A6791 #918F67 #699167
monochromatic
#3E3449 #5C4E6D #7A6791 #998AAC #B8ADC5

Accessibility & contrast

On white

5.03
#7A6791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7A6791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6791
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6791#FFFFFF#000000##FFFFFF
##7A67911.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E93
Deuteranopia (green-blind)
#636F90
Tritanopia (blue-blind)
#776D76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a6791;
/* rgb */ color: rgb(122, 103, 145);
/* oklch */ color: oklch(54.8% 0.068 304.9);
Tailwind
colors: {
  custom: {
    50: '#a192b1',
    500: '#7a6791',
    950: '#000000',
  },
}
SCSS
$custom: #7a6791;
$custom-light: #a192b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6791",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 145
  },
  "hsl": {
    "h": 267.143,
    "s": 16.935,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.06763,
    "h": 304.9
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#7A6791
secondary
#ABB4A0
accent
#BA6E97
background
#F9F9FA
surface
#F2F1F5
border
#CCCBCF
text
#0F0D10
muted
#7E7E7F

Preview Lab

Preview with #7A6791

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

Preview Lab → · Contrast checker → · Palette generator →

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