#7C668D#7C668D

#7C668D is a mid, moderate violet. Relative luminance 0.157; OKLCH L 54.6% C 0.065 H 309.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7C668D
RGBrgb(124, 102, 141)
HSLhsl(274, 16%, 48%)
HSVhsv(274, 28%, 55%)
CMYKcmyk(12.1%, 27.7%, 0%, 44.7%)
CIE-LABlab(46.59, 16.64, -18.17)
CIE-LCHlch(46.59, 24.64, 312.48°)
OKLaboklab(54.61% 0.0415 -0.0496)
OKLCHoklch(54.61% 0.065 309.9)
XYZxyz(17.8704, 15.7111, 27.2853)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C668D #778D66
analogous
#69668D #7C668D #8D668A
triadic
#7C668D #8D7C66 #668D7C
tetradic
#7C668D #8D6966 #778D66 #668A8D
square
#7C668D #8D6966 #778D66 #668A8D
split-complementary
#7C668D #8A8D66 #668D69
monochromatic
#3E3346 #5D4C69 #7C668D #9A88A9 #B8ABC2

Accessibility & contrast

On white

5.07
#7C668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7C668D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C668D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C668D#FFFFFF#000000##FFFFFF
##7C668D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8F
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#7A6B74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c668d;
/* rgb */ color: rgb(124, 102, 141);
/* oklch */ color: oklch(54.6% 0.065 309.9);
Tailwind
colors: {
  custom: {
    50: '#a291ae',
    500: '#7c668d',
    950: '#000000',
  },
}
SCSS
$custom: #7c668d;
$custom-light: #a291ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c668d",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 273.846,
    "s": 16.049,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.0647,
    "h": 309.9
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#7C668D
secondary
#A6B19E
accent
#B96F8F
background
#FAF8FA
surface
#F3F0F4
border
#CDCBCE
text
#0F0D10
muted
#7F7D7F

Preview Lab

Preview with #7C668D

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

Preview Lab → · Contrast checker → · Palette generator →

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