#7F668D#7F668D

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

Color values

HEX#7F668D
RGBrgb(127, 102, 141)
HSLhsl(278, 16%, 48%)
HSVhsv(278, 28%, 55%)
CMYKcmyk(9.9%, 27.7%, 0%, 44.7%)
CIE-LABlab(46.89, 17.68, -17.69)
CIE-LCHlch(46.89, 25.01, 314.99°)
OKLaboklab(54.91% 0.0452 -0.0482)
OKLCHoklch(54.91% 0.066 313.2)
XYZxyz(18.3107, 15.9381, 27.3059)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F668D #748D66
analogous
#6C668D #7F668D #8D6687
triadic
#7F668D #8D7F66 #668D7F
tetradic
#7F668D #8D6C66 #748D66 #66878D
square
#7F668D #8D6C66 #748D66 #66878D
split-complementary
#7F668D #878D66 #668D6C
monochromatic
#3F3346 #5F4C69 #7F668D #9D88A9 #BAABC2

Accessibility & contrast

On white

5.01
#7F668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7F668D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F668D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F668D#FFFFFF#000000##FFFFFF
##7F668D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#66708C
Tritanopia (blue-blind)
#7E6B74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f668d;
/* rgb */ color: rgb(127, 102, 141);
/* oklch */ color: oklch(54.9% 0.066 313.2);
Tailwind
colors: {
  custom: {
    50: '#a491ae',
    500: '#7f668d',
    950: '#000000',
  },
}
SCSS
$custom: #7f668d;
$custom-light: #a491ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7f668d",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 278.462,
    "s": 16.049,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.0661,
    "h": 313.2
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F668D

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

Preview Lab → · Contrast checker → · Palette generator →

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