#7C7197#7C7197

#7C7197 is a mid, muted violet. Relative luminance 0.183; OKLCH L 57.3% C 0.059 H 297.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7C7197
RGBrgb(124, 113, 151)
HSLhsl(257, 15%, 52%)
HSVhsv(257, 25%, 59%)
CMYKcmyk(17.9%, 25.2%, 0%, 40.8%)
CIE-LABlab(49.89, 12.39, -19.04)
CIE-LCHlch(49.89, 22.71, 303.05°)
OKLaboklab(57.28% 0.0275 -0.0521)
OKLCHoklch(57.28% 0.059 297.8)
XYZxyz(19.8020, 18.3296, 31.7669)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7197 #8C9771
analogous
#717997 #7C7197 #8F7197
triadic
#7C7197 #977C71 #71977C
tetradic
#7C7197 #977179 #8C9771 #71978F
square
#7C7197 #977179 #8C9771 #71978F
split-complementary
#7C7197 #978F71 #799771
monochromatic
#423C52 #5F5675 #7C7197 #9D94B1 #BDB8CB

Accessibility & contrast

On white

4.50
#7C7197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7C7197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7197
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7197#FFFFFF#000000##000000
##7C71971.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#6B7696
Tritanopia (blue-blind)
#77777E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7197;
/* rgb */ color: rgb(124, 113, 151);
/* oklch */ color: oklch(57.3% 0.059 297.8);
Tailwind
colors: {
  custom: {
    50: '#a299b5',
    500: '#7c7197',
    950: '#000000',
  },
}
SCSS
$custom: #7c7197;
$custom-light: #a299b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7197",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 257.368,
    "s": 15.447,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.05892,
    "h": 297.8
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#7C7197
secondary
#B5BAAA
accent
#B870A3
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #7C7197

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

Preview Lab → · Contrast checker → · Palette generator →

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