#7A679B#7A679B

#7A679B is a mid, moderate violet. Relative luminance 0.162; OKLCH L 55.3% C 0.082 H 300.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7A679B
RGBrgb(122, 103, 155)
HSLhsl(262, 21%, 51%)
HSVhsv(262, 34%, 61%)
CMYKcmyk(21.3%, 33.5%, 0%, 39.2%)
CIE-LABlab(47.24, 18.69, -25.50)
CIE-LCHlch(47.24, 31.61, 306.24°)
OKLaboklab(55.25% 0.0416 -0.0705)
OKLCHoklch(55.25% 0.082 300.5)
XYZxyz(18.7914, 16.2046, 33.1418)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A679B #889B67
analogous
#676E9B #7A679B #94679B
triadic
#7A679B #9B7A67 #679B7A
tetradic
#7A679B #9B676E #889B67 #679B94
square
#7A679B #9B676E #889B67 #679B94
split-complementary
#7A679B #9B9467 #6E9B67
monochromatic
#403652 #5D4E77 #7A679B #9A8CB3 #BBB1CC

Accessibility & contrast

On white

4.95
#7A679B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7A679B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A679B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A679B#FFFFFF#000000##FFFFFF
##7A679B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B709D
Deuteranopia (green-blind)
#5F709A
Tritanopia (blue-blind)
#746F7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a679b;
/* rgb */ color: rgb(122, 103, 155);
/* oklch */ color: oklch(55.3% 0.082 300.5);
Tailwind
colors: {
  custom: {
    50: '#a192b8',
    500: '#7a679b',
    950: '#000000',
  },
}
SCSS
$custom: #7a679b;
$custom-light: #a192b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a679b",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 155
  },
  "hsl": {
    "h": 261.923,
    "s": 20.635,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55251,
    "c": 0.08181,
    "h": 300.5
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#7A679B
secondary
#B2BAA3
accent
#BD6B9F
background
#FAF9FB
surface
#F3F1F6
border
#CDCBD0
text
#0F0D11
muted
#7F7E80

Preview Lab

Preview with #7A679B

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

Preview Lab → · Contrast checker → · Palette generator →

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