#7E6682#7E6682

#7E6682 is a mid, muted purple. Relative luminance 0.155; OKLCH L 54.4% C 0.052 H 321.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7E6682
RGBrgb(126, 102, 130)
HSLhsl(291, 12%, 45%)
HSVhsv(291, 22%, 51%)
CMYKcmyk(3.1%, 21.5%, 0%, 49%)
CIE-LABlab(46.38, 14.94, -11.91)
CIE-LCHlch(46.38, 19.11, 321.46°)
OKLaboklab(54.35% 0.0403 -0.0321)
OKLCHoklch(54.35% 0.052 321.5)
XYZxyz(17.3843, 15.5504, 23.2005)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6682 #6A8266
analogous
#706682 #7E6682 #826678
triadic
#7E6682 #827E66 #66827E
tetradic
#7E6682 #827066 #6A8266 #667882
square
#7E6682 #827066 #6A8266 #667882
split-complementary
#7E6682 #788266 #668270
monochromatic
#3C303D #5D4B60 #7E6682 #9C86A0 #B8A8BB

Accessibility & contrast

On white

5.11
#7E6682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7E6682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6682
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6682#FFFFFF#000000##FFFFFF
##7E66821.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636C83
Deuteranopia (green-blind)
#696F81
Tritanopia (blue-blind)
#7F6970
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6682;
/* rgb */ color: rgb(126, 102, 130);
/* oklch */ color: oklch(54.4% 0.052 321.5);
Tailwind
colors: {
  custom: {
    50: '#a391a6',
    500: '#7e6682',
    950: '#000000',
  },
}
SCSS
$custom: #7e6682;
$custom-light: #a391a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6682",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 130
  },
  "hsl": {
    "h": 291.429,
    "s": 12.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.05154,
    "h": 321.5
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#7E6682
secondary
#9CAA9A
accent
#B5737C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0D0F
muted
#7F7D7F

Preview Lab

Preview with #7E6682

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

Preview Lab → · Contrast checker → · Palette generator →

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