#7E6880#7E6880

#7E6880 is a mid, muted purple. Relative luminance 0.159; OKLCH L 54.7% C 0.045 H 323.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E6880
RGBrgb(126, 104, 128)
HSLhsl(295, 10%, 45%)
HSVhsv(295, 19%, 50%)
CMYKcmyk(1.6%, 18.8%, 0%, 49.8%)
CIE-LABlab(46.84, 13.33, -10.02)
CIE-LCHlch(46.84, 16.68, 323.07°)
OKLaboklab(54.68% 0.0363 -0.0269)
OKLCHoklch(54.68% 0.045 323.5)
XYZxyz(17.4503, 15.8951, 22.5667)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6880 #6A8068
analogous
#726880 #7E6880 #806876
triadic
#7E6880 #807E68 #68807E
tetradic
#7E6880 #807268 #6A8068 #687680
square
#7E6880 #807268 #6A8068 #687680
split-complementary
#7E6880 #768068 #688072
monochromatic
#3C313C #5D4D5E #7E6880 #9C879E #B8A9B9

Accessibility & contrast

On white

5.03
#7E6880 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7E6880 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6880
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6880#FFFFFF#000000##FFFFFF
##7E68801.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666D81
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#7F6A70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6880;
/* rgb */ color: rgb(126, 104, 128);
/* oklch */ color: oklch(54.7% 0.045 323.5);
Tailwind
colors: {
  custom: {
    50: '#a393a4',
    500: '#7e6880',
    950: '#000000',
  },
}
SCSS
$custom: #7e6880;
$custom-light: #a393a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6880",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 128
  },
  "hsl": {
    "h": 295,
    "s": 10.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54683,
    "c": 0.04521,
    "h": 323.5
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#7E6880
secondary
#9CA99B
accent
#B3757A
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#0F0D0F
muted
#7F7E7F

Preview Lab

Preview with #7E6880

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

Preview Lab → · Contrast checker → · Palette generator →

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