#7E7694#7E7694

#7E7694 is a mid, muted violet. Relative luminance 0.195; OKLCH L 58.4% C 0.046 H 297.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7E7694
RGBrgb(126, 118, 148)
HSLhsl(256, 12%, 52%)
HSVhsv(256, 20%, 58%)
CMYKcmyk(14.9%, 20.3%, 0%, 42%)
CIE-LABlab(51.30, 9.40, -15.12)
CIE-LCHlch(51.30, 17.80, 301.88°)
OKLaboklab(58.38% 0.0211 -0.0411)
OKLCHoklch(58.38% 0.046 297.2)
XYZxyz(20.4268, 19.5305, 30.7049)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7694 #8C9476
analogous
#767D94 #7E7694 #8D7694
triadic
#7E7694 #947E76 #76947E
tetradic
#7E7694 #94767D #8C9476 #76948D
square
#7E7694 #94767D #8C9476 #76948D
split-complementary
#7E7694 #948D76 #7D9476
monochromatic
#443F51 #615A73 #7E7694 #9E98AF #BFBBCA

Accessibility & contrast

On white

4.28
#7E7694 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7E7694 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7694
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7694#FFFFFF#000000##000000
##7E76941.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#707A95
Deuteranopia (green-blind)
#717A93
Tritanopia (blue-blind)
#7A7A80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e7694;
/* rgb */ color: rgb(126, 118, 148);
/* oklch */ color: oklch(58.4% 0.046 297.2);
Tailwind
colors: {
  custom: {
    50: '#a39db3',
    500: '#7e7694',
    950: '#000000',
  },
}
SCSS
$custom: #7e7694;
$custom-light: #a39db3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7694",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 148
  },
  "hsl": {
    "h": 256,
    "s": 12.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58375,
    "c": 0.04622,
    "h": 297.2
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#7E7694
secondary
#B6B9AC
accent
#B573A3
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #7E7694

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

Preview Lab → · Contrast checker → · Palette generator →

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