#7E6E9C#7E6E9C

#7E6E9C is a mid, moderate violet. Relative luminance 0.180; OKLCH L 57.1% C 0.072 H 300.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E6E9C
RGBrgb(126, 110, 156)
HSLhsl(261, 19%, 52%)
HSVhsv(261, 29%, 61%)
CMYKcmyk(19.2%, 29.5%, 0%, 38.8%)
CIE-LABlab(49.48, 16.04, -22.59)
CIE-LCHlch(49.48, 27.71, 305.36°)
OKLaboklab(57.07% 0.036 -0.0621)
OKLCHoklch(57.07% 0.072 300.1)
XYZxyz(20.1796, 17.9877, 33.8549)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E9C #8C9C6E
analogous
#6E759C #7E6E9C #956E9C
triadic
#7E6E9C #9C7E6E #6E9C7E
tetradic
#7E6E9C #9C6E75 #8C9C6E #6E9C95
square
#7E6E9C #9C6E75 #8C9C6E #6E9C95
split-complementary
#7E6E9C #9C956E #759C6E
monochromatic
#443A55 #61537A #7E6E9C #9E92B5 #BFB7CE

Accessibility & contrast

On white

4.57
#7E6E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7E6E9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6E9C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E9C#FFFFFF#000000##000000
##7E6E9C1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#64759E
Deuteranopia (green-blind)
#67759B
Tritanopia (blue-blind)
#79757E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e6e9c;
/* rgb */ color: rgb(126, 110, 156);
/* oklch */ color: oklch(57.1% 0.072 300.1);
Tailwind
colors: {
  custom: {
    50: '#a497b9',
    500: '#7e6e9c',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e9c;
$custom-light: #a497b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e9c",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 156
  },
  "hsl": {
    "h": 260.87,
    "s": 18.852,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.07183,
    "h": 300.1
  },
  "luminance": 0.17988
}

Semantic roles & 50–950 ramp

primary
#7E6E9C
secondary
#B6BDA9
accent
#BB6CA0
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0D11
muted
#7F7E80

Preview Lab

Preview with #7E6E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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