#7A668D#7A668D

#7A668D is a mid, moderate violet. Relative luminance 0.156; OKLCH L 54.4% C 0.064 H 307.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7A668D
RGBrgb(122, 102, 141)
HSLhsl(271, 16%, 48%)
HSVhsv(271, 28%, 55%)
CMYKcmyk(13.5%, 27.7%, 0%, 44.7%)
CIE-LABlab(46.40, 15.95, -18.49)
CIE-LCHlch(46.40, 24.42, 310.79°)
OKLaboklab(54.41% 0.0391 -0.0505)
OKLCHoklch(54.41% 0.064 307.7)
XYZxyz(17.5842, 15.5635, 27.2718)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A668D #798D66
analogous
#67668D #7A668D #8D668C
triadic
#7A668D #8D7A66 #668D7A
tetradic
#7A668D #8D6766 #798D66 #668C8D
square
#7A668D #8D6766 #798D66 #668C8D
split-complementary
#7A668D #8C8D66 #668D67
monochromatic
#3D3346 #5B4C69 #7A668D #9988A9 #B7ABC2

Accessibility & contrast

On white

5.11
#7A668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7A668D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A668D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A668D#FFFFFF#000000##FFFFFF
##7A668D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8F
Deuteranopia (green-blind)
#636E8C
Tritanopia (blue-blind)
#786B74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a668d;
/* rgb */ color: rgb(122, 102, 141);
/* oklch */ color: oklch(54.4% 0.064 307.7);
Tailwind
colors: {
  custom: {
    50: '#a191ae',
    500: '#7a668d',
    950: '#000000',
  },
}
SCSS
$custom: #7a668d;
$custom-light: #a191ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7a668d",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 270.769,
    "s": 16.049,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.06389,
    "h": 307.7
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#7A668D
secondary
#A7B19E
accent
#B96F93
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0D10
muted
#7E7D7F

Preview Lab

Preview with #7A668D

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

Preview Lab → · Contrast checker → · Palette generator →

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