#7A668F#7A668F

#7A668F is a mid, moderate violet. Relative luminance 0.156; OKLCH L 54.5% C 0.067 H 306.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7A668F
RGBrgb(122, 102, 143)
HSLhsl(269, 17%, 48%)
HSVhsv(269, 29%, 56%)
CMYKcmyk(14.7%, 28.7%, 0%, 43.9%)
CIE-LABlab(46.48, 16.42, -19.56)
CIE-LCHlch(46.48, 25.54, 310.01°)
OKLaboklab(54.5% 0.0397 -0.0536)
OKLCHoklch(54.5% 0.067 306.5)
XYZxyz(17.7344, 15.6236, 28.0627)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A668F #7B8F66
analogous
#66668F #7A668F #8E668F
triadic
#7A668F #8F7A66 #668F7A
tetradic
#7A668F #8F6666 #7B8F66 #668F8E
square
#7A668F #8F6666 #7B8F66 #668F8E
split-complementary
#7A668F #8F8E66 #668F66
monochromatic
#3D3348 #5C4D6B #7A668F #9988AA #B7ACC4

Accessibility & contrast

On white

5.09
#7A668F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7A668F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A668F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A668F#FFFFFF#000000##FFFFFF
##7A668F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D91
Deuteranopia (green-blind)
#626E8E
Tritanopia (blue-blind)
#776C74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a668f;
/* rgb */ color: rgb(122, 102, 143);
/* oklch */ color: oklch(54.5% 0.067 306.5);
Tailwind
colors: {
  custom: {
    50: '#a191b0',
    500: '#7a668f',
    950: '#000000',
  },
}
SCSS
$custom: #7a668f;
$custom-light: #a191b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a668f",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 143
  },
  "hsl": {
    "h": 269.268,
    "s": 16.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.06667,
    "h": 306.5
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#7A668F
secondary
#A9B39E
accent
#B96E95
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0D10
muted
#7E7D7F

Preview Lab

Preview with #7A668F

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

Preview Lab → · Contrast checker → · Palette generator →

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