#7E668D#7E668D

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

Color values

HEX#7E668D
RGBrgb(126, 102, 141)
HSLhsl(277, 16%, 48%)
HSVhsv(277, 28%, 55%)
CMYKcmyk(10.6%, 27.7%, 0%, 44.7%)
CIE-LABlab(46.79, 17.34, -17.85)
CIE-LCHlch(46.79, 24.88, 314.16°)
OKLaboklab(54.81% 0.044 -0.0487)
OKLCHoklch(54.81% 0.066 312.1)
XYZxyz(18.1625, 15.8617, 27.2989)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E668D #758D66
analogous
#6B668D #7E668D #8D6688
triadic
#7E668D #8D7E66 #668D7E
tetradic
#7E668D #8D6B66 #758D66 #66888D
square
#7E668D #8D6B66 #758D66 #66888D
split-complementary
#7E668D #888D66 #668D6B
monochromatic
#3F3346 #5E4C69 #7E668D #9C88A9 #B9ABC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E668D#FFFFFF#000000##FFFFFF
##7E668D1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#656F8C
Tritanopia (blue-blind)
#7D6B74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e668d;
/* rgb */ color: rgb(126, 102, 141);
/* oklch */ color: oklch(54.8% 0.066 312.1);
Tailwind
colors: {
  custom: {
    50: '#a391ae',
    500: '#7e668d',
    950: '#000000',
  },
}
SCSS
$custom: #7e668d;
$custom-light: #a391ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7e668d",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 276.923,
    "s": 16.049,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.06561,
    "h": 312.1
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#7E668D
secondary
#A5B19E
accent
#B96F8B
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0D10
muted
#7F7D7F

Preview Lab

Preview with #7E668D

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

Preview Lab → · Contrast checker → · Palette generator →

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