#7E6884#7E6884

#7E6884 is a mid, muted purple. Relative luminance 0.160; OKLCH L 54.8% C 0.050 H 318.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E6884
RGBrgb(126, 104, 132)
HSLhsl(287, 12%, 46%)
HSVhsv(287, 21%, 52%)
CMYKcmyk(4.5%, 21.2%, 0%, 48.2%)
CIE-LABlab(46.98, 14.17, -12.20)
CIE-LCHlch(46.98, 18.70, 319.28°)
OKLaboklab(54.84% 0.0378 -0.0329)
OKLCHoklch(54.84% 0.05 318.9)
XYZxyz(17.7188, 16.0025, 23.9807)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6884 #6E8468
analogous
#706884 #7E6884 #84687C
triadic
#7E6884 #847E68 #68847E
tetradic
#7E6884 #847068 #6E8468 #687C84
square
#7E6884 #847068 #6E8468 #687C84
split-complementary
#7E6884 #7C8468 #688470
monochromatic
#3D3240 #5D4D62 #7E6884 #9C88A1 #B8AABC

Accessibility & contrast

On white

5.00
#7E6884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7E6884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6884
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6884#FFFFFF#000000##FFFFFF
##7E68841.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656E85
Deuteranopia (green-blind)
#6A7083
Tritanopia (blue-blind)
#7E6B72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6884;
/* rgb */ color: rgb(126, 104, 132);
/* oklch */ color: oklch(54.8% 0.050 318.9);
Tailwind
colors: {
  custom: {
    50: '#a393a7',
    500: '#7e6884',
    950: '#000000',
  },
}
SCSS
$custom: #7e6884;
$custom-light: #a393a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6884",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 132
  },
  "hsl": {
    "h": 287.143,
    "s": 11.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.05009,
    "h": 318.9
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#7E6884
secondary
#A0AB9C
accent
#B57381
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#0F0D0F
muted
#7F7E7F

Preview Lab

Preview with #7E6884

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

Preview Lab → · Contrast checker → · Palette generator →

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